Interface ToShortBiFunction<A,​B>

  • Type Parameters:
    A - The type of the first input-parameter.
    B - The type of the second 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.

    @FunctionalInterface
    public interface ToShortBiFunction<A,​B>
    Function-Pointer Input: A, B Output: short.

    A FunctionalInterface (Function-Pointer) that points to a function that generates / produces a Java short-primitive. This "Bi" Function accepts two arguments as input.


    • Method Summary

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

      • applyAsShort

          🗕  🗗  🗖
        short applyAsShort​(A a,
                           B b)
        Applies 'this' integer-function to the given arguments, and returns the resulting 'short'

        FunctionalInterface Target-Method:
        This method corresponds to the @FunctionalInterface Annotation's method requirement. It is the only non-default, non-static method in this interface, and may be the target of a Lambda-Expression or '::' (double-colon) Function-Pointer.
        Parameters:
        a - the first input argument
        b - the second input argument
        Returns:
        The 'short' result.