public class Lambdas
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Lambdas.BiConsumerWithException<T,U,E extends java.lang.Exception> |
static interface |
Lambdas.ConsumerWithException<T,E extends java.lang.Exception> |
static interface |
Lambdas.FunctionWithException<T,R,E extends java.lang.Exception> |
static interface |
Lambdas.RunnableWithException<E extends java.lang.Exception> |
static interface |
Lambdas.SupplierWithException<T,E extends java.lang.Exception> |
| Constructor and Description |
|---|
Lambdas() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R,E extends java.lang.Exception> |
applyWithException(Lambdas.FunctionWithException<T,R,E> function) |
static <T,U,E extends java.lang.Exception> |
consumeBothWithException(Lambdas.BiConsumerWithException<T,U,E> consumer) |
static <T,E extends java.lang.Exception> |
consumeWithException(Lambdas.ConsumerWithException<T,E> consumer) |
static <E extends java.lang.Exception> |
runWithException(Lambdas.RunnableWithException<E> runnable) |
static <T,E extends java.lang.Exception> |
supplyWithException(Lambdas.SupplierWithException<T,E> supplier) |
public static <E extends java.lang.Exception> java.lang.Runnable runWithException(Lambdas.RunnableWithException<E> runnable) throws E extends java.lang.Exception
E extends java.lang.Exceptionpublic static <T,R,E extends java.lang.Exception> java.util.function.Function<T,R> applyWithException(Lambdas.FunctionWithException<T,R,E> function) throws E extends java.lang.Exception
E extends java.lang.Exceptionpublic static <T,E extends java.lang.Exception> java.util.function.Consumer<T> consumeWithException(Lambdas.ConsumerWithException<T,E> consumer) throws E extends java.lang.Exception
E extends java.lang.Exceptionpublic static <T,U,E extends java.lang.Exception> java.util.function.BiConsumer<T,U> consumeBothWithException(Lambdas.BiConsumerWithException<T,U,E> consumer) throws E extends java.lang.Exception
E extends java.lang.Exceptionpublic static <T,E extends java.lang.Exception> java.util.function.Supplier<T> supplyWithException(Lambdas.SupplierWithException<T,E> supplier) throws E extends java.lang.Exception
E extends java.lang.Exception