@FunctionalInterface public static interface Throwables.ThrowingRunnable<T extends Throwable>
| 限定符和类型 | 方法和说明 |
|---|---|
static Runnable |
caught(Throwables.ThrowingRunnable<?> runnable) |
static Runnable |
caught(Throwables.ThrowingRunnable<?> runnable,
Supplier<String> message) |
static Runnable |
checked(Throwables.ThrowingRunnable<?> runnable) |
static void |
execute(Throwables.ThrowingRunnable<?> runnable) |
static void |
execute(Throwables.ThrowingRunnable<?> runnable,
Supplier<String> message) |
void |
run() |
static void |
run(Throwables.ThrowingRunnable<?> runnable) |
default <R> Throwables.ThrowingCallable<R,Throwable> |
toCallable(R result) |
default <R> Throwables.ThrowingSupplier<R,Throwable> |
toSupplier(R result) |
default <R> Throwables.ThrowingSupplier<R,Throwable> toSupplier(R result)
default <R> Throwables.ThrowingCallable<R,Throwable> toCallable(R result)
static void run(Throwables.ThrowingRunnable<?> runnable)
static void execute(Throwables.ThrowingRunnable<?> runnable)
static void execute(Throwables.ThrowingRunnable<?> runnable, Supplier<String> message)
static Runnable checked(Throwables.ThrowingRunnable<?> runnable)
static Runnable caught(Throwables.ThrowingRunnable<?> runnable)
static Runnable caught(Throwables.ThrowingRunnable<?> runnable, Supplier<String> message)
Copyright © 2023. All rights reserved.