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