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