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