@FunctionalInterface
public interface Consumer2<A,B>
extends java.util.function.BiConsumer<A,B>
BiConsumer.toConsumer(Consumer2)| Modifier and Type | Method and Description |
|---|---|
void |
accept(A a,
B b) |
static <A,B> java.util.function.Consumer<Tuple2<A,B>> |
toConsumer(Consumer2<A,B> delegate)
Converts specified consumer into a
Consumer were all arguments are represented
as a single Tuple2 instance. |