static <E extends Exception> DoubleToIntFunction |
DoubleToIntFunctionWithException.ignored(DoubleToIntFunctionWithException<E> function) |
Converts a DoubleToIntFunctionWithException to a lifted
DoubleToIntFunction returning 0 in case of exception.
|
static <E extends Exception> DoubleToIntFunction |
DoubleToIntFunctionWithException.ignored(DoubleToIntFunctionWithException<E> function,
int defaultValue) |
Converts a DoubleToIntFunctionWithException to a lifted
DoubleToIntFunction returning a default value in case of exception.
|
static <E extends Exception> DoubleToIntFunction |
DoubleToIntFunctionWithException.lifted(DoubleToIntFunctionWithException<E> function) |
Converts a DoubleToIntFunctionWithException to a lifted
DoubleToIntFunction returning 0 in case of exception.
|
static <E extends Exception> DoubleToIntFunction |
DoubleToIntFunctionWithException.unchecked(DoubleToIntFunctionWithException<E> function) |
Converts a DoubleToIntFunctionWithException to a
DoubleToIntFunction that wraps exception to RuntimeException .
|
static <E extends Exception> DoubleToIntFunction |
DoubleToIntFunctionWithException.unchecked(DoubleToIntFunctionWithException<E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a DoubleToIntFunctionWithException to a
DoubleToIntFunction that wraps exception to RuntimeException
by using the provided mapping function.
|