@FunctionalInterface
public interface Consumer4<A,B,C,D>
BiConsumer, but with 4 arguments.toConsumer(Consumer4),
toBiConsumer(Consumer4)| Modifier and Type | Method and Description |
|---|---|
void |
accept(A a,
B b,
C c,
D d) |
default Consumer4<A,B,C,D> |
andThen(Consumer4<? super A,? super B,? super C,? super D> after) |
static <A,B,C,D> java.util.function.BiConsumer<A,Tuple3<B,C,D>> |
toBiConsumer(Consumer4<A,B,C,D> delegate)
Converts specified consumer into a
BiConsumer were all arguments except the first one are represented
as a single Tuple3 instance. |
static <A,B,C,D> java.util.function.Consumer<Tuple4<A,B,C,D>> |
toConsumer(Consumer4<A,B,C,D> delegate)
Converts specified consumer into a
Consumer were all arguments are represented
as a single Tuple4 instance. |
static <A,B,C,D> java.util.function.Consumer<Tuple4<A,B,C,D>> toConsumer(Consumer4<A,B,C,D> delegate)
Consumer were all arguments are represented
as a single Tuple4 instance.static <A,B,C,D> java.util.function.BiConsumer<A,Tuple3<B,C,D>> toBiConsumer(Consumer4<A,B,C,D> delegate)
BiConsumer were all arguments except the first one are represented
as a single Tuple3 instance.