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