接口 EventHandler
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public interface EventHandler
Interface for handling events of type T
事件处理器接口
- 作者:
-
方法概要
-
方法详细资料
-
handle
处理函数- 参数:
event- 事件
-
@FunctionalInterface public interface EventHandler
event - 事件