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