@FunctionalInterface public interface Function0<R> extends Supplier<R>, Callable<R>
| 限定符和类型 | 方法和说明 |
|---|---|
R |
apply() |
default R |
applyUnchecked() |
default R |
applyUnchecked(Consumer<Throwable> handler) |
default R |
applyUnchecked(Function<Throwable,R> handler) |
default R |
call() |
static <R> Function0<R> |
from(Callable<R> callable) |
static <R> Function0<R> |
from(Supplier<R> supplier) |
default R |
get() |
default Callable<R> |
toCallable() |
default Supplier<R> |
toSupplier() |
default R applyUnchecked()
Copyright © 2024. All rights reserved.