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