Interface ToIntTriFunction<A,​B,​C>

  • 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 ToIntTriFunction<A,​B,​C>
    ToIntTriFunction Documentation.

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



    • Method Detail

      • applyAsInt

        int applyAsInt​(A a,
                       B b,
                       C c)
        Applies 'this' integer-function to the given arguments, and returns the resulting 'int
        Parameters:
        a - the first input argument
        b - the second input argument
        c - the third input argument
        Returns:
        The result of the function. Return result is of type 'int'