com.rychlik.calculator
Class StackMachine.Mul
java.lang.Object
|
+--com.rychlik.calculator.StackMachine.MathFunction
|
+--com.rychlik.calculator.StackMachine.BinaryMathFunction
|
+--com.rychlik.calculator.StackMachine.Mul
- All Implemented Interfaces:
- java.io.Serializable, StackMachine.Instruction
- Enclosing class:
- StackMachine
- public class StackMachine.Mul
- extends StackMachine.BinaryMathFunction
Describe class Mul here.
- See Also:
- Serialized Form
Method Summary |
double |
eval(double x,
double y)
Describe eval method here. |
java.lang.String |
getName()
Describe getName method here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackMachine.Mul
public StackMachine.Mul()
eval
public double eval(double x,
double y)
- Describe
eval method here.
- Specified by:
eval in class StackMachine.BinaryMathFunction
- Parameters:
x - a double valuey - a double value
- Returns:
- a
double value
getName
public java.lang.String getName()
- Describe
getName method here.
- Specified by:
getName in class StackMachine.MathFunction
- Returns:
- a
String value
|