Interface ToLongQuadFunction<A,​B,​C,​D>

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

    public interface ToLongQuadFunction<A,​B,​C,​D>
    Function-Pointer Input: A, B, C, D Output: long.

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

    • Method Summary

      @FunctionalInterface (Lambda) Method
      Modifier and Type Method
      long applyAsLong​(A a, B b, C c, D d)
    • Method Detail

      • applyAsLong

        long applyAsLong​(A a,
                         B b,
                         C c,
                         D d)
        Applies 'this' integer-function to the given arguments, and returns the resulting 'long'
        a - the first input argument
        b - the second input argument
        c - the third input argument
        d - the fourth input argument
        The 'long' result.