Consumer that declares a Throwable.
This is a functional interface whose functional method is accept(Object).
| Modifier and Type | Field and Description |
|---|---|
| public static final FailableConsumer | NOP
NOP singleton |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public default FailableConsumer | andThen(final FailableConsumer<? super T, E>
the operation to perform after this operation after)Returns a composed |
| public static < Consumed type 1. T, The kind of thrown exception or error. E extends Throwable> FailableConsumer |
| NOP | back to summary |
|---|---|
| public static final FailableConsumer<T, E extends Throwable> NOP NOP singleton
| |
| accept | back to summary |
|---|---|
| public void accept(T object) throws E Accepts the given arguments.
| |
| andThen | back to summary |
|---|---|
| public default FailableConsumer Returns a composed
| |
| nop | back to summary |
|---|---|
| public static <T, E extends Throwable> FailableConsumer Gets the NOP singleton.
| |