|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Function
The interface for functions contained by function tokens.
| Red (liuxj) |
| Yellow (liuxj) |
| Method Summary | |
|---|---|
Token |
apply(Token[] arguments)
Apply the function to the list of arguments, which are tokens. |
int |
getNumberOfArguments()
Return the number of arguments of the function. |
boolean |
isCongruent(Function function)
Return true if this function is congruent to the given function. |
java.lang.String |
toString()
Return a string representation. |
| Method Detail |
|---|
Token apply(Token[] arguments)
throws IllegalActionException
arguments - The list of arguments.
IllegalActionException - If thrown during evaluating
the function.int getNumberOfArguments()
boolean isCongruent(Function function)
function - The function to check congruency against.
java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||