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