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