public static class BooleanConsumer.Util
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static BooleanConsumer |
andThen(BooleanConsumer c1,
BooleanConsumer c2)
Composes
BooleanConsumer calls. |
public static BooleanConsumer andThen(@NotNull BooleanConsumer c1, @NotNull BooleanConsumer c2)
BooleanConsumer calls.
c1.accept(value); c2.accept(value);
c1 - the first BooleanConsumerc2 - the second BooleanConsumerBooleanConsumerjava.lang.NullPointerException - if c1 or c2 is null