Create Project
This commit is contained in:
16
src/com/light/util/IEventExecute.java
Normal file
16
src/com/light/util/IEventExecute.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.light.util;
|
||||
|
||||
/**
|
||||
* 执行的时候得事件处理类
|
||||
* @author Light
|
||||
*
|
||||
* @param <T> 接口
|
||||
*/
|
||||
public interface IEventExecute<T> {
|
||||
/**
|
||||
* 事件的执行主体
|
||||
* @param t 接口
|
||||
* @throws Exception 异常错误
|
||||
*/
|
||||
void Execute(T t) throws Exception;
|
||||
}
|
||||
Reference in New Issue
Block a user