@FunctionalInterface public interface Consumer0 extends AbstractConsumer0<Consumer0>
ConsumerN.
This is the non-producing specialization of Function0.
This is a functional interface whose functional method is AbstractConsumer0.accept().
ConsumerN,
Function0| Modifier and Type | Method and Description |
|---|---|
default Consumer0 |
andThen(Consumer0 after)
Returns a chained object that performs, in sequence, this operation followed
by the
after operation. |
default Consumer0 |
andThenUnchecked(Consumer0 after)
Returns a chained object that performs, in sequence, this operation followed
by the
after operation. |
static Consumer0 |
fromVariant(java.lang.Runnable runnable)
Creates an instance of this object from its
Runnable variant. |
accept, acceptAllUnchecked, andThen, andThenUnchecked, arity, toVariantapplyAllUnchecked, sizedAcceptAllUncheckedstatic Consumer0 fromVariant(java.lang.Runnable runnable)
Runnable variant.runnable - the variant of this objectRunnabledefault Consumer0 andThen(Consumer0 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 AbstractConsumer0<Consumer0>andThen in interface AbstractConsumerN<Consumer0>andThen in interface ConsumerChainable<Consumer0>andThen in interface ConsumerChainableConsumer<Consumer0>after - the operation to perform after this operationafter operationdefault Consumer0 andThenUnchecked(Consumer0 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 AbstractConsumer0<Consumer0>andThenUnchecked in interface AbstractConsumerN<Consumer0>andThenUnchecked in interface ConsumerChainable<Consumer0>andThenUnchecked in interface ConsumerChainableConsumer<Consumer0>after - the operation to perform after this operationafter operation