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, setCurNumberOfParameters
public void run(Stack inStack) throws ParseException
PostfixMathCommand
run
in interface PostfixMathCommandI
run
in class PostfixMathCommand
ParseException
public Object sub(Object param1, Object param2) throws ParseException
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics