static <E extends Exception> DoubleBinaryOperator |
DoubleBinaryOperatorWithException.ignored(DoubleBinaryOperatorWithException<E> function) |
Converts a DoubleBinaryOperatorWithException to a lifted
DoubleBinaryOperator with 0 as return value in case of
exception.
|
static <E extends Exception> DoubleBinaryOperator |
DoubleBinaryOperatorWithException.ignored(DoubleBinaryOperatorWithException<E> function,
double defaultValue) |
Converts a DoubleBinaryOperatorWithException to a lifted
DoubleBinaryOperator with a default value as return value in case of
exception.
|
static <E extends Exception> DoubleBinaryOperator |
DoubleBinaryOperatorWithException.lifted(DoubleBinaryOperatorWithException<E> function) |
Converts a DoubleBinaryOperatorWithException to a lifted
DoubleBinaryOperator with 0 as return value in case of
exception.
|
static <E extends Exception> DoubleBinaryOperator |
DoubleBinaryOperatorWithException.unchecked(DoubleBinaryOperatorWithException<E> function) |
Converts a DoubleBinaryOperatorException to a
DoubleBinaryOperator that wraps exception to
RuntimeException .
|
static <E extends Exception> DoubleBinaryOperator |
DoubleBinaryOperatorWithException.unchecked(DoubleBinaryOperatorWithException<E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a DoubleBinaryOperatorWithException to a
DoubleBinaryOperator that wraps exception to RuntimeException
by using the provided mapping function.
|