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