@FunctionalInterface public interface ConsumerN extends AbstractConsumerN<ConsumerN>
n arguments and returns no result.
All consumers are derived from this n-arity specialization.
This is the non-producing specialization of FunctionN.
This is a functional interface whose functional method is AbstractConsumerN.acceptAllUnchecked(Object...).
FunctionN| Modifier and Type | Interface and Description |
|---|---|
static class |
ConsumerN.Instance
An instance of
AbstractConsumerN which properly defines the
arity of that particular consumer. |
| Modifier and Type | Method and Description |
|---|---|
default ConsumerN |
andThen(ConsumerN after)
Returns a chained object that performs, in sequence, this operation followed
by the
after operation. |
default ConsumerN |
andThenUnchecked(ConsumerN after)
Returns a chained object that performs, in sequence, this operation followed
by the
after operation. |
acceptAllUnchecked, applyAllUnchecked, sizedAcceptAllUncheckeddefault ConsumerN andThen(ConsumerN 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 AbstractConsumerN<ConsumerN>andThen in interface ConsumerChainable<ConsumerN>andThen in interface ConsumerChainableConsumer<ConsumerN>after - the operation to perform after this operationafter operationdefault ConsumerN andThenUnchecked(ConsumerN 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 AbstractConsumerN<ConsumerN>andThenUnchecked in interface ConsumerChainable<ConsumerN>andThenUnchecked in interface ConsumerChainableConsumer<ConsumerN>after - the operation to perform after this operationafter operation