| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < return type of callable T, return type of handler R> CheckedSupplier | Returns: a supplier composed of supplier and handlerthe supplier supplier, CheckedBiFunction<T, Throwable, R> the supplier applied after callable handler)Returns a composed supplier that first applies the supplier and then applies BiFunction |
| public static < return type of after T> CheckedSupplier | Returns: a supplier composed of callable and exceptionHandlerthe supplier which should be recovered from a certain exception supplier, CheckedFunction<Throwable, T> the exception handler exceptionHandler)Returns a composed supplier that first executes the supplier and optionally recovers from an exception. |
| public static < return type of after T> CheckedSupplier | Returns: a supplier composed of supplier and exceptionHandlerthe supplier supplier, Predicate<T> the result predicate resultPredicate, CheckedFunction<T, T> the result handler resultHandler)Returns a composed supplier that first executes the supplier and optionally recovers from a specific result. |
| public static < return type of after T> CheckedSupplier | Returns: a supplier composed of supplier and exceptionHandlerthe supplier which should be recovered from a certain exception supplier, List<Class<? extends Throwable>> the specific exception types that should be recovered exceptionTypes, CheckedFunction<Throwable, T> the exception handler exceptionHandler)Returns a composed supplier that first executes the supplier and optionally recovers from an exception. |
| public static <X extends Throwable, return type of after T> CheckedSupplier | Returns: a supplier composed of callable and exceptionHandlerthe supplier which should be recovered from a certain exception supplier, Class<X> the specific exception type that should be recovered exceptionType, CheckedFunction<Throwable, T> the exception handler exceptionHandler)Returns a composed supplier that first executes the supplier and optionally recovers from an exception. |
| CheckedFunctionUtils | back to summary |
|---|---|
| private CheckedFunctionUtils() | |
| andThen | back to summary |
|---|---|
| public static <T, R> CheckedSupplier Returns a composed supplier that first applies the supplier and then applies BiFunction
| |
| recover | back to summary |
|---|---|
| public static <T> CheckedSupplier Returns a composed supplier that first executes the supplier and optionally recovers from an exception.
| |
| recover | back to summary |
|---|---|
| public static <T> CheckedSupplier Returns a composed supplier that first executes the supplier and optionally recovers from a specific result.
| |
| recover | back to summary |
|---|---|
| public static <T> CheckedSupplier Returns a composed supplier that first executes the supplier and optionally recovers from an exception.
| |
| recover | back to summary |
|---|---|
| public static <X extends Throwable, T> CheckedSupplier Returns a composed supplier that first executes the supplier and optionally recovers from an exception.
| |