T - 入参类型R - 返回结果类型E - 异常类型@FunctionalInterface public interface ThrowingFunction<T,R,E extends Throwable>
接收一个参数,并返回一个结果,可以抛出异常。
Function| Modifier and Type | Method and Description |
|---|---|
R |
apply(T t)
接收一个参数,并返回一个结果,可以抛出异常。
|
Copyright © 2026. All rights reserved.