E - The kind of thrown exception or error.@FunctionalInterface
public interface FailableLongConsumer<E extends java.lang.Throwable>
LongConsumer that declares a Throwable.| Modifier and Type | Field and Description |
|---|---|
static FailableLongConsumer |
NOP
NOP singleton
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(long object)
Accepts the given arguments.
|
default FailableLongConsumer<E> |
andThen(FailableLongConsumer<E> after)
Returns a composed
FailableLongConsumer like LongConsumer.andThen(LongConsumer). |
static <E extends java.lang.Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableLongConsumer NOP
static <E extends java.lang.Throwable> FailableLongConsumer<E> nop()
E - The kind of thrown exception or error.void accept(long object)
throws E extends java.lang.Throwable
object - the parameter for the consumable to acceptE - Thrown when the consumer fails.E extends java.lang.Throwabledefault FailableLongConsumer<E> andThen(FailableLongConsumer<E> after)
FailableLongConsumer like LongConsumer.andThen(LongConsumer).after - the operation to perform after this one.FailableLongConsumer like LongConsumer.andThen(LongConsumer).java.lang.NullPointerException - if after is nullCopyright © 2010 - 2023 Adobe. All Rights Reserved