E
- Thrown exception.@FunctionalInterface public interface FailableIntConsumer<E extends Throwable>
IntConsumer
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableIntConsumer |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
void |
accept(int value)
Accepts the consumer.
|
default FailableIntConsumer<E> |
andThen(FailableIntConsumer<E> after)
Returns a composed
FailableIntConsumer like IntConsumer.andThen(IntConsumer) . |
static <E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableIntConsumer NOP
static <E extends Throwable> FailableIntConsumer<E> nop()
E
- Thrown exception.default FailableIntConsumer<E> andThen(FailableIntConsumer<E> after)
FailableIntConsumer
like IntConsumer.andThen(IntConsumer)
.after
- the operation to perform after this one.FailableLongConsumer
like IntConsumer.andThen(IntConsumer)
.NullPointerException
- if after
is nullCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.