public class Functions extends Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static interface |
Functions.BiConsumerWithException<T,U,E extends Throwable> |
static interface |
Functions.BiFunctionWithException<T,U,R,E extends Throwable> |
static interface |
Functions.ConsumerWithException<T,E extends Throwable> |
static interface |
Functions.FunctionWithException<T,R,E extends Throwable> |
static interface |
Functions.RunnableWithException<E extends Throwable> |
static interface |
Functions.SupplierWithException<T,E extends Throwable> |
| コンストラクタと説明 |
|---|
Functions() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static <T> Consumer<T> |
nullComsumer() |
static <T,U,E extends Throwable> |
soften(Functions.BiConsumerWithException<T,U,E> c) |
static <T,U,R,E extends Throwable> |
soften(Functions.BiFunctionWithException<T,U,R,E> f) |
static <T,E extends Throwable> |
soften(Functions.ConsumerWithException<T,E> c) |
static <T,R,E extends Throwable> |
soften(Functions.FunctionWithException<T,R,E> f) |
static <E extends Throwable> |
soften(Functions.RunnableWithException<E> r) |
static <T,E extends Throwable> |
soften(Functions.SupplierWithException<T,E> s) |
static <T> Predicate<T> |
truePredicate() |
static <P,E extends Throwable> |
tunnelingExecute(Consumer<Consumer<P>> term,
Functions.ConsumerWithException<P,E> process) |
static <E extends Throwable> |
unsoft(SoftenedException e) |
public static <T> Consumer<T> nullComsumer()
public static <T> Predicate<T> truePredicate()
public static <E extends Throwable> Runnable soften(Functions.RunnableWithException<E> r)
public static <T,E extends Throwable> Supplier<T> soften(Functions.SupplierWithException<T,E> s)
public static <T,E extends Throwable> Consumer<T> soften(Functions.ConsumerWithException<T,E> c)
public static <T,U,E extends Throwable> BiConsumer<T,U> soften(Functions.BiConsumerWithException<T,U,E> c)
public static <T,R,E extends Throwable> Function<T,R> soften(Functions.FunctionWithException<T,R,E> f)
public static <T,U,R,E extends Throwable> BiFunction<T,U,R> soften(Functions.BiFunctionWithException<T,U,R,E> f)
public static <E extends Throwable> void unsoft(SoftenedException e) throws E extends Throwable
E extends ThrowableCopyright © 2017. All rights reserved.