public static class BiConsumer.Util
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T,U> BiConsumer<T,U> |
andThen(BiConsumer<? super T,? super U> c1,
BiConsumer<? super T,? super U> c2)
Composes
BiConsumer calls. |
public static <T,U> BiConsumer<T,U> andThen(BiConsumer<? super T,? super U> c1, BiConsumer<? super T,? super U> c2)
BiConsumer
calls.
c1.accept(t, u); c2.accept(t, u);
T
- the type of the first argumentU
- the type of the second argumentc1
- the first BiConsumer
c2
- the second BiConsumer
BiConsumer
java.lang.NullPointerException
- if c1
or c2
is null