E
- Thrown exception.@FunctionalInterface public interface FailableDoubleConsumer<E extends 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 consumer.
|
default FailableDoubleConsumer<E> |
andThen(FailableDoubleConsumer<E> after)
Returns a composed
FailableDoubleConsumer like DoubleConsumer.andThen(DoubleConsumer) . |
static <E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableDoubleConsumer NOP
static <E extends Throwable> FailableDoubleConsumer<E> nop()
E
- Thrown exception.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)
.NullPointerException
- when after
is null.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.