Interface ShortFunction<T>

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    Functions.ShortFunctionChain, PrimitiveFunctions.UnboxIntegerToShort, StringFunctions.ToPrimitiveShortFunction
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ShortFunction<T>
    extends java.io.Serializable
    ShortFunction is a primitive Function which may be used to reduce the overhead of autoboxing Short objects in places where primitive shorts could be used. This file was automatically generated from template file primitiveFunction.stg.
    Since:
    3.0.
    • Method Detail

      • shortValueOf

        short shortValueOf​(T anObject)