public class GComparative extends PostfixMathCommand
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
GComparative(GroupI group,
int id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run(Stack inStack)
Throws an exception because this method should never be called under
normal circumstances.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameterspublic GComparative(GroupI group, int id)
id - should be Comparative.LT or GT, LE, GE, NE EQComparativepublic void run(Stack inStack) throws ParseException
PostfixMathCommandrun in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionCopyright © 2018. All rights reserved.