| Modifier and Type | Method | Description |
|---|---|---|
static <E extends Exception> |
DoubleBinaryOperatorWithException.failing(Supplier<E> exceptionBuilder) |
Returns a function that always throw exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <E extends Exception> |
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> |
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> |
DoubleBinaryOperatorWithException.unchecked(DoubleBinaryOperatorWithException<E> function) |
Converts a
DoubleBinaryOperatorException to a
DoubleBinaryOperator that wraps exception to
RuntimeException. |
static <E extends Exception> |
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. |
Copyright © 2019. All rights reserved.