default DoubleUnaryOperatorWithException<E> |
DoubleUnaryOperatorWithException.andThen(DoubleUnaryOperatorWithException<? extends E> after) |
Returns a composed operator that first applies this operator to its input,
and then applies the after operator to the result.
|
default DoubleUnaryOperatorWithException<E> |
DoubleUnaryOperatorWithException.compose(DoubleUnaryOperatorWithException<? extends E> before) |
Returns a composed operator that first applies the before operator to
its input, and then applies this operator to the result.
|
static <E extends Exception> DoubleUnaryOperator |
DoubleUnaryOperatorWithException.ignored(DoubleUnaryOperatorWithException<E> function) |
Converts a DoubleUnaryOperatorWithException to a lifted
DoubleUnaryOperator returning 0 in case of exception.
|
static <E extends Exception> DoubleUnaryOperator |
DoubleUnaryOperatorWithException.ignored(DoubleUnaryOperatorWithException<E> function,
double defaultValue) |
Converts a DoubleUnaryOperatorWithException to a lifted
DoubleUnaryOperator returning a default value in case of exception.
|
static <E extends Exception> DoubleUnaryOperator |
DoubleUnaryOperatorWithException.lifted(DoubleUnaryOperatorWithException<E> function) |
Converts a DoubleUnaryOperatorWithException to a lifted
DoubleUnaryOperator using 0 as return value in case of error.
|
static <E extends Exception> DoubleUnaryOperator |
DoubleUnaryOperatorWithException.unchecked(DoubleUnaryOperatorWithException<E> function) |
Converts a DoubleUnaryOperatorException to a
DoubleUnaryOperator that wraps exception to RuntimeException .
|
static <E extends Exception> DoubleUnaryOperator |
DoubleUnaryOperatorWithException.unchecked(DoubleUnaryOperatorWithException<E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a DoubleUnaryOperatorWithException to a
DoubleUnaryOperator that wraps exception to RuntimeException
by using the provided mapping function.
|