P - 参数类型R - 返回值类型@FunctionalInterface public interface Func<P,R> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
R |
call(P... parameters)
执行函数
|
default R |
callWithRuntimeException(P... parameters)
执行函数,异常包装为RuntimeException
|
Copyright © 2025. All rights reserved.