static <T,E extends Exception> BinaryOperator<T> |
BinaryOperatorWithException.ignored(BinaryOperatorWithException<T,E> function) |
Converts a BinaryOperatorWithException to a lifted
BinaryOperator returning null in case of exception.
|
static <T,E extends Exception> BiFunction<T,T,Optional<T>> |
BinaryOperatorWithException.lifted(BinaryOperatorWithException<T,E> function) |
Converts a BinaryOperatorWithException to a lifted Function
returning an optional in case of exception.
|
static <T,E extends Exception> BinaryOperator<T> |
BinaryOperatorWithException.unchecked(BinaryOperatorWithException<T,E> function) |
Converts a BinaryOperatorWithException to a BinaryOperator
that convert exception to RuntimeException .
|
static <T,E extends Exception> BinaryOperator<T> |
BinaryOperatorWithException.unchecked(BinaryOperatorWithException<T,E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a BinaryOperatorWithException to a BinaryOperator
that convert exception to RuntimeException by using the provided
mapping function.
|