T1 - the type of the first argument to the functionT2 - the type of the second argument to the functionT3 - the type of the third argument to the functionT4 - the type of the fourd argument to the functionR - the type of the result of the function@FunctionalInterface
public interface Function4<T1,T2,T3,T4,R>
Function.| Modifier and Type | Method and Description |
|---|---|
default <R2> Function4<T1,T2,T3,T4,R2> |
andThen(java.util.function.Function<? super R,? extends R2> after)
Returns a composed function that first applies this function
|
R |
apply(T1 t1,
T2 t2,
T3 t3,
T4 t4)
Applies this function to the given arguments.
|
R apply(T1 t1, T2 t2, T3 t3, T4 t4)
t1 - the first function argumentt2 - the second function argumentt3 - the third function argumentt4 - the fourd function argumentdefault <R2> Function4<T1,T2,T3,T4,R2> andThen(java.util.function.Function<? super R,? extends R2> after)
R2 - 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