接口 ClosureContext<T>
- 所有已知实现类:
MapClosureContext,StackClosureContext
public interface ClosureContext<T>
Created by davidoff shen on 2017-04-20.
- 作者:
- davidoff shen
-
方法概要
-
方法详细资料
-
get
T get()获取上下文中的变量值- 返回:
- 获取上下文中的变量值
-
call
带着上下文数据执行带返回值的方法- 参数:
var- 上下文数据supplier- supplier- 返回:
- supplier.get()
-