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 <V> java.util.concurrent.Callable<V> |
Failable.asCallable(FailableCallable<V,?> callable)
Converts the given
FailableCallable into a standard Callable . |
static <V,E extends java.lang.Throwable> |
Failable.call(FailableCallable<V,E> callable)
Calls a callable and rethrows any exception as a
RuntimeException . |