E - The kind of thrown exception or error.@FunctionalInterface
public interface FailableIntConsumer<E extends java.lang.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 given arguments.
|
default FailableIntConsumer<E> |
andThen(FailableIntConsumer<E> after)
Returns a composed
FailableIntConsumer like IntConsumer.andThen(IntConsumer). |
static <E extends java.lang.Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableIntConsumer NOP
static <E extends java.lang.Throwable> FailableIntConsumer<E> nop()
E - The kind of thrown exception or error.void accept(int value)
throws E extends java.lang.Throwable
value - the parameter for the consumable to acceptE - Thrown when the consumer fails.E extends java.lang.Throwabledefault FailableIntConsumer<E> andThen(FailableIntConsumer<E> after)
FailableIntConsumer like IntConsumer.andThen(IntConsumer).after - the operation to perform after this one.FailableLongConsumer like IntConsumer.andThen(IntConsumer).java.lang.NullPointerException - if after is nullCopyright © 2010 - 2023 Adobe. All Rights Reserved