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