public class Multiply extends PostfixMathCommand
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
Multiply() |
| Modifier and Type | Method and Description |
|---|---|
Complex |
mul(Complex c1,
Complex c2) |
Complex |
mul(Complex c,
Number d) |
Double |
mul(Number d1,
Number d2) |
Object |
mul(Object param1,
Object param2) |
Vector |
mul(Vector v,
Complex c) |
Vector |
mul(Vector v,
Number d) |
void |
run(Stack stack)
Throws an exception because this method should never be called under
normal circumstances.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameterspublic void run(Stack stack) throws ParseException
PostfixMathCommandrun in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionpublic Object mul(Object param1, Object param2) throws ParseException
ParseExceptionCopyright © 2018. All rights reserved.