Interface ToDoubleTriFunction<A,​B,​C>

  • Type Parameters:
    A - The type of the first input-parameter.
    B - The type of the second input-parameter.
    C - The type of the last 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 ToDoubleTriFunction<A,​B,​C>
    Function-Pointer Input: A, B, C Output: double.

    This is just an extension of Java's original functional-interface package. This interface provides a "To Double Tri Function" which is a logical-extension of the interface from the package java.util.function.*, which has "To Double Bi-Function". This Functional Interface expects three variable-type parameters instead of two.


    • Method Summary

       
      @FunctionalInterface: (Lambda) Method
      Modifier and Type Method
      double applyAsDouble​(A a, B b, C c)
    • Method Detail

      • applyAsDouble

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

        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
        c - the third input argument
        Returns:
        The 'double' result.