@FunctionalInterface
public interface Function4<A,B,C,D,R>
Equal to BiFunction but with 4 arguments.
toFunction(Function4),
toBiFunction(Function4)| Modifier and Type | Method and Description |
|---|---|
default <V> Function4<A,B,C,D,V> |
andThen(java.util.function.Function<? super R,? extends V> then) |
R |
apply(A a,
B b,
C c,
D d) |
static <A,B,C,D,R> |
toBiFunction(Function4<A,B,C,D,R> delegate)
Convert specified function to the
BiFunction were all arguments except the thirst one are represented
as a single Tuple3 instance. |
static <A,B,C,D,R> |
toFunction(Function4<A,B,C,D,R> delegate)
Convert specified function to the
Function were all arguments are represented
as a single Tuple4 instance. |
static <A,B,C,D,R> java.util.function.Function<Tuple4<A,B,C,D>,R> toFunction(Function4<A,B,C,D,R> delegate)
Function were all arguments are represented
as a single Tuple4 instance.static <A,B,C,D,R> java.util.function.BiFunction<A,Tuple3<B,C,D>,R> toBiFunction(Function4<A,B,C,D,R> delegate)
BiFunction were all arguments except the thirst one are represented
as a single Tuple3 instance.