E1 - the first function argument typeE2 - the second function argument typeE3 - the third function argument typeE4 - the fourth function argument typeE5 - the fifth function argument typeR - the function result type@FunctionalInterface
public interface FiveArgusFunction<E1,E2,E3,E4,E5,R>
| Modifier and Type | Method and Description |
|---|---|
default <V> FiveArgusFunction<E1,E2,E3,E4,E5,V> |
andThen(java.util.function.Function<? super R,? extends V> after)
Returns a composed function that first applies this function to its
input, and then applies the
after function to the result. |
R |
apply(E1 e1,
E2 e2,
E3 e3,
E4 e4,
E5 e5)
Applies this function to the given arguments.
|
R apply(E1 e1, E2 e2, E3 e3, E4 e4, E5 e5)
e1 - the first function argumente2 - the second function argumente3 - the third function argumente4 - the fourth function argumente5 - the fifth function argumentdefault <V> FiveArgusFunction<E1,E2,E3,E4,E5,V> andThen(java.util.function.Function<? super R,? extends V> after)
after function to the result. If
evaluation of either function throws an exception, it is relayed to the
caller of the composed function.V - the type of output of the after function, and of the
composed functionafter - the function to apply after this function is appliedafter functionjava.lang.NullPointerException - if after is null