Package | Description |
---|---|
org.apache.commons.lang3.function |
Provides functional interfaces to complement those in
java.lang.function and utilities for working with Java
8 lambdas. |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.function.Supplier<T> |
Failable.asSupplier(FailableSupplier<T,?> supplier)
Converts the given
FailableSupplier into a standard Supplier . |
static <T,E extends java.lang.Throwable> |
Failable.get(FailableSupplier<T,E> supplier)
Invokes a supplier, and returns the result.
|