- 类型参数:
R - the type of the result
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface
public interface CheckedSupplier<R>
A functional interface that can be used to perform a computation that may throw an exception.
- 从以下版本开始:
- 2.8.0
- 作者:
- huangchengxing