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