com.rychlik.calculator
Class StackMachine.Le
java.lang.Object
|
+--com.rychlik.calculator.StackMachine.MathFunction
|
+--com.rychlik.calculator.StackMachine.BinaryMathFunction
|
+--com.rychlik.calculator.StackMachine.Le
- All Implemented Interfaces:
- java.io.Serializable, StackMachine.Instruction
- Enclosing class:
- StackMachine
- public class StackMachine.Le
- extends StackMachine.BinaryMathFunction
Describe class Le 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.Le
public StackMachine.Le()
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
|