I1 - the type of the first argument to the functionI2 - the type of the second argument to the functionI3 - the type of the third argument to the functionO - the type of the result of the function@FunctionalInterface
public interface TernaryFunction<I1,I2,I3,O>
Function.
This is a functional interface
whose functional method is apply(Object, Object, Object).
| Modifier and Type | Method and Description |
|---|---|
default <V> TernaryFunction<I1,I2,I3,V> |
andThen(java.util.function.Function<? super O,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
O |
apply(I1 input1,
I2 input2,
I3 input3)
Applies this function to the given arguments.
|
O apply(I1 input1, I2 input2, I3 input3)
input1 - the first function argumentinput2 - the second function argumentinput3 - the third function argumentdefault <V> TernaryFunction<I1,I2,I3,V> andThen(java.util.function.Function<? super O,? 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