Interface ShortToLongFunction

  • 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 ShortToLongFunction
    Functional interface describing a method that given a short returns a long.
    Since:
    1.0.5
    Author:
    Emil Forslund
    • Method Detail

      • applyAsLong

        long applyAsLong​(short value)
        Applies this function on the specified short, returning a long.
        Parameters:
        value - the input value
        Returns:
        the output