public static class IntConsumer.Util extends Object
| Modifier and Type | Method and Description |
|---|---|
static IntConsumer |
andThen(IntConsumer c1,
IntConsumer c2)
Composes
IntConsumer calls. |
public static IntConsumer andThen(IntConsumer c1, IntConsumer c2)
IntConsumer calls.
c1.accept(value); c2.accept(value);
c1 - the first IntConsumerc2 - the second IntConsumerIntConsumerNullPointerException - if c1 or c2 is nullCopyright © 2017. All rights reserved.