E
- Thrown exception.public interface FailableDoubleUnaryOperator<E extends Throwable>
DoubleUnaryOperator
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableDoubleUnaryOperator |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
default FailableDoubleUnaryOperator<E> |
andThen(FailableDoubleUnaryOperator<E> after)
Returns a composed
FailableDoubleUnaryOperator like
DoubleUnaryOperator.andThen(DoubleUnaryOperator) . |
double |
applyAsDouble(double operand)
Applies this operator to the given operand.
|
default FailableDoubleUnaryOperator<E> |
compose(FailableDoubleUnaryOperator<E> before)
Returns a composed
FailableDoubleUnaryOperator like
DoubleUnaryOperator.compose(DoubleUnaryOperator) . |
static <E extends Throwable> |
identity()
Returns a unary operator that always returns its input argument.
|
static <E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableDoubleUnaryOperator NOP
static <E extends Throwable> FailableDoubleUnaryOperator<E> identity()
E
- Thrown exception.static <E extends Throwable> FailableDoubleUnaryOperator<E> nop()
E
- Thrown exception.default FailableDoubleUnaryOperator<E> andThen(FailableDoubleUnaryOperator<E> after)
FailableDoubleUnaryOperator
like
DoubleUnaryOperator.andThen(DoubleUnaryOperator)
.after
- the operator to apply after this one.FailableDoubleUnaryOperator
like
DoubleUnaryOperator.andThen(DoubleUnaryOperator)
.NullPointerException
- if after is null.compose(FailableDoubleUnaryOperator)
double applyAsDouble(double operand) throws E extends Throwable
default FailableDoubleUnaryOperator<E> compose(FailableDoubleUnaryOperator<E> before)
FailableDoubleUnaryOperator
like
DoubleUnaryOperator.compose(DoubleUnaryOperator)
.before
- the operator to apply before this one.FailableDoubleUnaryOperator
like
DoubleUnaryOperator.compose(DoubleUnaryOperator)
.NullPointerException
- if before is null.andThen(FailableDoubleUnaryOperator)
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.