public static class BiFunction.Util extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T,U,R,V> BiFunction<T,U,V> |
andThen(BiFunction<? super T,? super U,? extends R> f1,
Function<? super R,? extends V> f2)
Composes
BiFunction calls. |
public static <T,U,R,V> BiFunction<T,U,V> andThen(BiFunction<? super T,? super U,? extends R> f1, Function<? super R,? extends V> f2)
BiFunction calls.
f2.apply(f1.apply(t, u))
T - the type of the first argumentU - the type of the second argumentR - the type of the result of the BiFunction f1V - the type of the result of composed function f2f1 - the BiFunction which is called firstf2 - the function for transform BiFunction f1 result to the type VNullPointerException - if f1 or f2 or result of BiFunction f1 is nullCopyright © 2017. All rights reserved.