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 © 2024. All rights reserved.