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