Package Torello.Java.Function
Interface ToLongQuintFunction<A,B,C,D,E>
-
- 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 fourth input-parameter.E- 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 ToLongQuintFunction<A,B,C,D,E>
Function-Pointer Input:A, B, C, D, EOutput:long.
This is just an extension of Java's original functional-interface package. Thisinterfaceprovides a "To Long Quint Function" which is a logical-extension of theinterfacefrom the packagejava.util.function.*, which has"To Long Bi-Function". ThisFunctional Interfaceexpects five variable-type parameters instead of two.
Hi-Lited Source-Code:- View Here: Torello/Java/Function/ToLongQuintFunction.java
- Open New Browser-Tab: Torello/Java/Function/ToLongQuintFunction.java
File Size: 1,199 Bytes Line Count: 35 '\n' Characters Found
-
-
Method Detail
-
applyAsLong
long applyAsLong(A a, B b, C c, D d, E e)
Applies'this'integer-function to the given arguments, and returns the resulting'long'
FunctionalInterface Target-Method:
This method corresponds to the@FunctionalInterfaceAnnotation's method requirement. It is the only non-default, non-staticmethod in this interface, and may be the target of a Lambda-Expression or'::'(double-colon) Function-Pointer.- Parameters:
a- the first input argumentb- the second input argumentc- the third input argumentd- the fourth input argumente- the fifth input argument- Returns:
- The
'long'result.
-
-