@FunctionalInterface public interface BooleanConsumer1 extends AbstractBooleanConsumer1<BooleanConsumer1>
boolean-valued argument and returns no result.
This is the one-arity specialization of ConsumerN.
This is the non-producing specialization of Function1.
This is the boolean-consuming primitive specialization of Consumer1.
This is a functional interface whose functional method is AbstractBooleanConsumer1.accept(boolean).
| Modifier and Type | Method and Description |
|---|---|
default BooleanConsumer1 |
andThen(BooleanConsumer1 after)
Returns a chained object that performs, in sequence, this operation followed
by the
after operation. |
default BooleanConsumer1 |
andThenUnchecked(BooleanConsumer1 after)
Returns a chained object that performs, in sequence, this operation followed
by the
after operation. |
default Consumer1<java.lang.Boolean> |
boxInput() |
accept, acceptAllUnchecked, andThen, andThenUnchecked, arityapplyAllUnchecked, sizedAcceptAllUncheckeddefault Consumer1<java.lang.Boolean> boxInput()
boxInput in interface AbstractBooleanConsumer1<BooleanConsumer1>boxInput in interface net.ashwork.functionality.partial.UnboxedInput<AbstractConsumer1<java.lang.Boolean,?>>Consumer1default BooleanConsumer1 andThen(BooleanConsumer1 after)
ConsumerChainableafter operation. If performing either operation throws an
exception, it is relayed to the caller of the composed operation. If performing
this operation throws an exception, the after operation will not be
performed.andThen in interface AbstractBooleanConsumer1<BooleanConsumer1>andThen in interface AbstractConsumerN<BooleanConsumer1>andThen in interface ConsumerChainable<BooleanConsumer1>andThen in interface ConsumerChainableConsumer<BooleanConsumer1>after - the operation to perform after this operationafter operationdefault BooleanConsumer1 andThenUnchecked(BooleanConsumer1 after)
ConsumerChainableafter operation. If performing either operation throws an
exception, it is relayed to the caller of the composed operation. If performing
this operation throws an exception, the after operation will not be
performed. This makes no assumptions on the arguments of this method.andThenUnchecked in interface AbstractBooleanConsumer1<BooleanConsumer1>andThenUnchecked in interface AbstractConsumerN<BooleanConsumer1>andThenUnchecked in interface ConsumerChainable<BooleanConsumer1>andThenUnchecked in interface ConsumerChainableConsumer<BooleanConsumer1>after - the operation to perform after this operationafter operation