Package Torello.Java.Function
Interface ToIntQuadFunction<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.
@FunctionalInterface public interface ToIntQuadFunction<A,B,C,D>
Function-Pointer Input:A, B, C, D
Output:int
.
This is just an extension of Java's original functional-interface package. Thisinterface
provides a "To Int Quad Function" which is a logical-extension of theinterface
from the packagejava.util.function.*
, which has"To Int Bi-Function"
. ThisFunctional Interface
expects four variable-type parameters instead of two.
Hi-Lited Source-Code:- View Here: Torello/Java/Function/ToIntQuadFunction.java
- Open New Browser-Tab: Torello/Java/Function/ToIntQuadFunction.java
File Size: 1,083 Bytes Line Count: 33 '\n' Characters Found
-
-
Method Summary
@FunctionalInterface: (Lambda) Method Modifier and Type Method int
applyAsInt(A a, B b, C c, D d)
-
-
-
Method Detail
-
applyAsInt
int applyAsInt(A a, B b, C c, D d)
Applies'this'
integer-function to the given arguments, and returns the resulting'int
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 argumentb
- the second input argumentc
- the third input argumentd
- the fourth input argument- Returns:
- The
'int'
result.
-
-