pnuts.lang
Interface Callable
- All Known Implementing Classes:
- PnutsFunction
public interface Callable
Callable object can be the target of function call expression.
callable(arg1, arg2, ...)
Method Summary |
java.lang.Object |
call(java.lang.Object[] args,
Context context)
Executes the callable object |
call
java.lang.Object call(java.lang.Object[] args,
Context context)
- Executes the callable object
- Parameters:
args
- the argumentscontext
- the context in which the object is called
- Returns:
- the result of the call