|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface Closure<T>
仿闭包,接口中的 execute(Object...) 通过回调模拟闭包。
| 方法摘要 | |
|---|---|
void |
execute(Object... input)
Performs an action on the specified input object. |
T |
executeAndGetResult(Object... input)
Wrap execute(Object...) and getResult() |
T |
getResult()
Get result |
| 方法详细信息 |
|---|
void execute(Object... input)
input - the input to execute onT getResult()
T executeAndGetResult(Object... input)
execute(Object...) and getResult()
input - the input to execute on
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||