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