static <R,E extends Exception> DoubleFunction<R> |
DoubleFunctionWithException.ignored(DoubleFunctionWithException<R,E> function) |
Converts a DoubleFunctionWithException to a lifted
DoubleFunction returning null in case of exception.
|
static <R,E extends Exception> DoubleFunction<R> |
DoubleFunctionWithException.ignored(DoubleFunctionWithException<R,E> function,
R defaultValue) |
Converts a DoubleFunctionWithException to a lifted
DoubleFunction returning a default value in case of exception.
|
static <R,E extends Exception> DoubleFunction<Optional<R>> |
DoubleFunctionWithException.lifted(DoubleFunctionWithException<R,E> function) |
Converts a DoubleFunctionWithException to a lifted
DoubleFunction using Optional as return value.
|
static <R,E extends Exception> DoubleFunction<CompletionStage<R>> |
DoubleFunctionWithException.staged(DoubleFunctionWithException<R,E> function) |
Convert this DoubleFunctionWithException to a lifted
DoubleFunction return CompletionStage as return value.
|
static <R,E extends Exception> DoubleFunction<R> |
DoubleFunctionWithException.unchecked(DoubleFunctionWithException<R,E> function) |
Converts a DoubleFunctionWithException to a DoubleFunction
that wraps to RuntimeException .
|
static <R,E extends Exception> DoubleFunction<R> |
DoubleFunctionWithException.unchecked(DoubleFunctionWithException<R,E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a DoubleFunctionWithException to a DoubleFunction
that wraps to RuntimeException by using the provided mapping
function.
|