Class ToByte

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.conversions.from_short.ToByte
All Implemented Interfaces:
java.util.function.Function<java.lang.Short,​java.lang.Byte>

public class ToByte
extends java.lang.Object
implements java.util.function.Function<java.lang.Short,​java.lang.Byte>
  • Constructor Summary

    Constructors 
    Constructor Description
    ToByte()  
    ToByte​(int scale)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Byte apply​(java.lang.Short input)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

    • ToByte

      public ToByte​(int scale)
    • ToByte

      public ToByte()
  • Method Details

    • apply

      public java.lang.Byte apply​(java.lang.Short input)
      Specified by:
      apply in interface java.util.function.Function<java.lang.Short,​java.lang.Byte>