public class MultNode extends OpNode
leftChild, rightChildparent| Constructor and Description |
|---|
MultNode(Expression leftChild,
Expression rightChild) |
| Modifier and Type | Method and Description |
|---|---|
double |
eval(VarMap v,
FuncMap f)
Multiples the evaluation of the left side and the evaluation of the right side and returns the result.
|
String |
getSymbol()
Returns the text symbol that represents the operation.
|
getLeftChild, getRightChild, setLeftChild, setRightChildcheckBeforeAccept, getFunctionNames, getParent, getVariableNames, isDescendent, toStringpublic MultNode(Expression leftChild, Expression rightChild)
public double eval(VarMap v, FuncMap f)
eval in class ExpressionCopyright © 2015. All rights reserved.