A - The first argument typeB - The second argument typeC - The third argument typeD - The result typepublic interface TriFunction<A,B,C,D>
| Modifier and Type | Method and Description |
|---|---|
default <Z> TriFunction<A,B,C,Z> |
andThen(Function<? super D,? extends Z> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the
result. |
D |
apply(A a,
B b,
C c)
Applies this function to the given arguments.
|
D apply(A a, B b, C c)
a - The first function argumentb - The second function argumentc - The third function argumentdefault <Z> TriFunction<A,B,C,Z> andThen(Function<? super D,? extends Z> after)
after function to the
result. If evaluation of either function throws an exception, it
is relayed to the caller of the composed function.Z - The type of output of the after function,
and of the composed functionafter - the function to apply after this function is appliedafter functionNullPointerException - if after is nullCopyright © 2020. All rights reserved.