public class Rethrowables extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
accept(T t,
RethrowableConsumer<T> consumer) |
static <R> R |
call(RethrowableCallable<R> callable) |
static <T,R> R |
invoke(T t,
RethrowableFunction<T,R> function) |
static void |
run(RethrowableRunnable runnable) |
public static void run(RethrowableRunnable runnable)
public static <R> R call(RethrowableCallable<R> callable)
public static <T,R> R invoke(T t,
RethrowableFunction<T,R> function)
public static <T> void accept(T t,
RethrowableConsumer<T> consumer)
Copyright © 2017. All rights reserved.