public class StackMachine.Add extends StackMachine.BinaryMathFunction
Add here.| Constructor and Description |
|---|
StackMachine.Add() |
| Modifier and Type | Method and Description |
|---|---|
double |
eval(double x,
double y)
Describe
eval method here. |
java.lang.String |
getName()
Describe
getName method here. |
arity, executewritepublic double eval(double x,
double y)
eval method here.eval in class StackMachine.BinaryMathFunctionx - a double valuey - a double valuedouble valuepublic java.lang.String getName()
getName method here.getName in class StackMachine.MathFunctionString value