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