A
- the type of the first argument of the functionB
- the type of the second argument of the functionC
- the type of the third argument of the functionD
- the type of the fourth argument of the functionE
- the type of the fifth argument of the functionF
- the type of the sixth argument of the functionG
- the type of the seventh argument of the functionH
- the type of the eighth argument of the functionI
- the type of the ninth argument of the functionJ
- the type of the tenth argument of the functionR
- the type of the result of the function@ConsumerType
@FunctionalInterface
public interface DecaFunction<A,B,C,D,E,F,G,H,I,J,R>
Function
that takes ten input parameters. This interface,
like all function interfaces, receives several arguments and returns one
value of type R
.
This interface can be implemented with a lambda function.
Modifier and Type | Method and Description |
---|---|
default <V> DecaFunction<A,B,C,D,E,F,G,H,I,J,V> |
andThen(java.util.function.Function<? super R,? extends V> afterFunction)
Returns the
DecaFunction that first executes the current DecaFunction instance's apply method, then uses the result as
input for the afterFunction parameter's apply method. |
R |
apply(A a,
B b,
C c,
D d,
E e,
F f,
G g,
H h,
I i,
J j)
Applies the current
DecaFunction and returns a value of type
R . |
default <V> DecaFunction<A,B,C,D,E,F,G,H,I,J,V> andThen(java.util.function.Function<? super R,? extends V> afterFunction)
DecaFunction
that first executes the current DecaFunction
instance's apply
method, then uses the result as
input for the afterFunction
parameter's apply
method.afterFunction
- the DecaFunction
to execute after the
current instanceDecaFunction
that executes the current instance's
apply
method, then uses the result as input for the
afterFunction
parameter's apply
methodR apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j)
DecaFunction
and returns a value of type
R
. This function can be implemented explicitly or with a lambda.a
- the function's first argumentb
- the function's second argumentc
- the function's third argumentd
- the function's fourth argumente
- the function's fifth argumentf
- the function's sixth argumentg
- the function's seventh argumenth
- the function's eighth argumenti
- the function's ninth argumentj
- the function's tenth argumentR