|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectFunction
public class Function
Function objects created with the Function constructor are evaluated each time they are used. This is less efficient than declaring a function and calling it within your code, because declared functions are compiled.
| Method Summary | |
|---|---|
any |
apply(Object thisArgument,
any[] argArray)
Allows you to apply a method of another object in the context of a different object (the calling object). |
any |
call(Object thisArgument,
any... args)
Allows you to call (execute) a method of another object in the context of a different object (the calling object). |
| Methods inherited from class Object |
|---|
toString |
| Method Detail |
|---|
public any apply(Object thisArgument,
any[] argArray)
thisArgument - Parameter for the calling object.argArray - An argument array for the object.
public any call(Object thisArgument,
any... args)
thisArgument - Parameter for the calling object.args - Arguments for the object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||