public interface PostfixMathCommandI
Modifier and Type | Method and Description |
---|---|
boolean |
checkNumberOfParameters(int n)
Checks the number of parameters of the function.
|
int |
getNumberOfParameters()
Returns the number of required parameters, or -1 if any number of
parameters is allowed.
|
void |
run(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().
|
void run(Stack aStack) throws ParseException
ParseException
int getNumberOfParameters()
void setCurNumberOfParameters(int n)
boolean checkNumberOfParameters(int n)
n
- number of parameters function will be called with.Jas4pp 1.5 © Java Analysis Studio for Particle Physics