public class Dot extends PostfixMathCommand
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
Dot() |
| Modifier and Type | Method and Description |
|---|---|
Object |
dot(Object param1,
Object param2) |
Object |
dot(Vector v1,
Vector v2) |
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 dot(Object param1, Object param2) throws ParseException
ParseExceptionpublic Object dot(Vector v1, Vector v2) throws ParseException
ParseExceptionCopyright © 2018. All rights reserved.