T1 - the first element TypeT2 - the second element TypeT3 - the third element TypeR - the result Type@FunctionalInterface public interface TriFunction<T1,T2,T3,R>
| Modifier and Type | Method and Description |
|---|---|
default <V> TriFunction<T1,T2,T3,V> |
andThen(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 first,
T2 second,
T3 third)
Executes the function for the given elements yielding a result of type R
|
R apply(T1 first, T2 second, T3 third)
first - the first elementsecond - the second elementthird - the third elementdefault <V> TriFunction<T1,T2,T3,V> andThen(Function<? super R,? extends V> after)
after function to the result. IfV - the type of output of the after function, and of the composed
functionafter - the function to apply after this function is appliedCopyright © 2017. All rights reserved.