Interface ToShortFunction<A>

  • Type Parameters:
    A - The type of the input-parameter.
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface ToShortFunction<A>
    Function-Pointer Input: A Output: short.

    A FunctionalInterface (Function-Pointer) that is a function for generating / producing a Java short-primitive. This Function accepts 1 argument.

    • Method Summary

      @FunctionalInterface (Lambda) Method
      Modifier and Type Method
      short applyAsShort​(A a)
    • Method Detail

      • applyAsShort

        short applyAsShort​(A a)
        Applies 'this' integer-function to the given argument, and returns the resulting 'short'
        a - the input argument
        The 'short' result.