Class LongToShort

  • All Implemented Interfaces:
    java.util.function.LongFunction<java.lang.Short>

    public class LongToShort
    extends java.lang.Object
    implements java.util.function.LongFunction<java.lang.Short>
    Convert the input value from long to short.
    • Constructor Summary

      Constructors 
      Constructor Description
      LongToShort()  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Short apply​(long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LongToShort

        public LongToShort()
    • Method Detail

      • apply

        public java.lang.Short apply​(long value)
        Specified by:
        apply in interface java.util.function.LongFunction<java.lang.Short>