public class DivideNode extends AbstractFloatResultNode
Modifier and Type | Field and Description |
---|---|
static String |
SYMBOL |
leftEvaluable, rightEvaluable
left
right
BNARY_OPERATOR, CLOSE, CONSTANT, OPEN, type, UNARY_OPERATOR, UNKNOWN, VARIABLE
Constructor and Description |
---|
DivideNode() |
Modifier and Type | Method and Description |
---|---|
DivideNode |
copy() |
Dimensional |
dimop(Dimensional dl,
Dimensional dr) |
void |
doVisit(ExpressionVisitor ev) |
int |
getPrecedence() |
AbstractDVal |
makeEvaluable(HashMap<String,Double> fixedHM) |
double |
op(double x,
double y) |
makeEvaluator
checkLeftRight, evaluateDimensional, getDimensionality, substituteVariables, toExpression
claim, claimLeft, getSymbol, replaceChild, replaceSymbols, toString
claimRight
deparent, detachNext, detachPrevious, dispose, isClose, isOpen, linkNext, next, parent, previous, remove, replaceNext, replacePrevious, replaceWith, setParent, siblingsToString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toExpression
evaluateDimensional, getDimensionality, substituteVariables
public static final String SYMBOL
public DivideNode copy()
copy
in class AbstractOperatorNode
public int getPrecedence()
getPrecedence
in class AbstractOperatorNode
public double op(double x, double y)
op
in class AbstractFloatResultNode
public AbstractDVal makeEvaluable(HashMap<String,Double> fixedHM) throws ContentError
ContentError
public Dimensional dimop(Dimensional dl, Dimensional dr)
dimop
in class AbstractFloatOperatorNode
public void doVisit(ExpressionVisitor ev) throws ContentError
ContentError
Copyright © 2020. All rights reserved.