@FunctionalInterface public interface SneakyThrowSupplier<T> extends java.util.function.Supplier<T>, ThrowSupplier<T>
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> SneakyThrowSupplier<T> |
cast(ThrowSupplier<T> throwSupplier) |
default T |
get() |
throwableGetdefault T get()
get 在接口中 java.util.function.Supplier<T>static <T> SneakyThrowSupplier<T> cast(ThrowSupplier<T> throwSupplier)
Copyright © 2021. All rights reserved.