public class Cross extends PostfixMathCommand
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
Cross() |
| Modifier and Type | Method and Description |
|---|---|
Object |
cross(Object param1,
Object param2) |
Object |
cross(Vector lhs,
Vector rhs) |
void |
run(Stack inStack)
Throws an exception because this method should never be called under
normal circumstances.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameterspublic void run(Stack inStack) throws ParseException
PostfixMathCommandrun in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionpublic Object cross(Object param1, Object param2) throws ParseException
ParseExceptionpublic Object cross(Vector lhs, Vector rhs) throws ParseException
ParseExceptionCopyright © 2018. All rights reserved.