|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Closure
A function object that evaluates one argument, executing a block of code. It returns a single result.
A closure evaluates a single argument against some expression. For example, a "StringLength" closure might accept any object and return the length of the object's string form.
| Method Summary | |
|---|---|
Object |
call(Object argument)
Evaluate the function with the provided argument, returning the result. |
| Method Detail |
|---|
Object call(Object argument)
argument - the argument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||