public class GLogical extends PostfixMathCommand
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
GLogical(int id)
Constructs
|
| 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 GLogical(int id)
id - should be Logical.AND or Logical.ORLogicalpublic void run(Stack inStack) throws ParseException
PostfixMathCommandrun in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionCopyright © 2018. All rights reserved.