|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.data.parser.postfixmathcommand.PostfixMathCommand
The PostfixMathCommand abstract class provides the utitlity methods to execute and process
the command method by node.
The subclass of this class should override the run method.
Determines the number of the arguments, types of the arguments and return parameter type.
| Constructor Summary | |
PostfixMathCommand(int numberOfParameters,
java.lang.Class returnType,
java.lang.Class[] parameterTypes)
Creates a PostfixMathCommand with specified number of arguments, types of the arguments and return type. |
|
| Method Summary | |
void |
checkStack(java.util.Stack inStack)
Checks the stack of the arguments. |
int |
getNumberOfParameters()
Returns the number of the arguments |
java.lang.Class[] |
getParameterTypes()
Returns the types of the arguments |
java.lang.Class |
getReturnType()
Returns the return parameter type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elegantj.data.parser.postfixmathcommand.PostfixMathCommandI |
run |
| Constructor Detail |
public PostfixMathCommand(int numberOfParameters,
java.lang.Class returnType,
java.lang.Class[] parameterTypes)
numberOfParameters - the number of the argumentsreturnType - the return parameter typeparameterTypes - the types of the arguments| Method Detail |
public void checkStack(java.util.Stack inStack)
throws CommandFailedException,
ArgumentRequiredException,
InvalidArgumentException
inStack - the stack of the arguments
CommandFailedException
ArgumentRequiredException
InvalidArgumentExceptionpublic int getNumberOfParameters()
public java.lang.Class getReturnType()
public java.lang.Class[] getParameterTypes()
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||