|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PostfixMathCommandI
All function classes must implement this interface to ensure that the run() method is implemented.
| Method Summary | |
|---|---|
int |
getNumberOfParameters()
Returns the number of required parameters, or -1 if any number of parameters is allowed. |
void |
run(java.util.Stack aStack)
Run the function on the stack. |
void |
setCurNumberOfParameters(int n)
Sets the number of current number of parameters used in the next call of run(). |
| Method Detail |
|---|
int getNumberOfParameters()
void run(java.util.Stack aStack)
throws java.lang.Exception
aStack - DOCUMENT ME!
java.lang.Exception - DOCUMENT ME!void setCurNumberOfParameters(int n)
n - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||