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 functionR - The type of the result of the function@FunctionalInterface
public interface TriFunction<T1,T2,T3,R>
Function.
This is a functional interface whose functional method is
apply(Object, Object, Object).
Function| Modifier and Type | Method and Description |
|---|---|
default <V> TriFunction<T1,T2,T3,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(T1 t1,
T2 t2,
T3 t3)
Applies this function to the given arguments.
|
R apply(T1 t1, T2 t2, T3 t3)
t1 - The first function argumentt2 - The second function argumentt3 - The second function argumentdefault <V> TriFunction<T1,T2,T3,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