public class Logical extends PostfixMathCommand
| Modifier and Type | Field and Description |
|---|---|
static int |
AND |
static int |
OR |
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
Logical(int id_in) |
| 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 static final int AND
public static final int OR
public void run(Stack inStack) throws ParseException
PostfixMathCommandrun in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionCopyright © 2018. All rights reserved.