public class Subtract extends PostfixMathCommand
| Constructor and Description |
|---|
Subtract() |
| Modifier and Type | Method and Description |
|---|---|
void |
run(Stack inStack)
Throws an exception because this method should never be called under
normal circumstances.
|
Complex |
sub(Complex c1,
Complex c2) |
Complex |
sub(Complex c,
Number d) |
Complex |
sub(Number d,
Complex c) |
Double |
sub(Number d1,
Number d2) |
Object |
sub(Object param1,
Object param2) |
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameterspublic void run(Stack inStack) throws ParseException
PostfixMathCommandrun in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionpublic Object sub(Object param1, Object param2) throws ParseException
ParseExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics