public static class BiConsumer.Util extends 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 BiConsumerc2 - the second BiConsumerBiConsumerNullPointerException - if c1 or c2 is nullCopyright © 2017. All rights reserved.