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