public abstract class AbstractComparisonNode extends AbstractFloatOperatorNode implements BooleanParseTreeNode
leftEvaluable, rightEvaluableleftrightBNARY_OPERATOR, CLOSE, CONSTANT, OPEN, type, UNARY_OPERATOR, UNKNOWN, VARIABLE| Constructor and Description |
|---|
AbstractComparisonNode(String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDimensions(HashMap<String,Dimensional> dimHM) |
abstract boolean |
compare(double x,
double y) |
abstract boolean |
compareInts(long ileft,
long iright) |
Dimensional |
dimop(Dimensional dl,
Dimensional dr) |
Dimensional |
evaluateDimensional(HashMap<String,Dimensional> dhm) |
checkLeftRight, getDimensionality, substituteVariables, toExpressionclaim, claimLeft, copy, getPrecedence, getSymbol, replaceChild, replaceSymbols, toStringclaimRightdeparent, detachNext, detachPrevious, dispose, isClose, isOpen, linkNext, next, parent, previous, remove, replaceNext, replacePrevious, replaceWith, setParent, siblingsToStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmakeEvaluable, toExpressiondoVisit, getDimensionality, substituteVariablespublic AbstractComparisonNode(String s)
public abstract boolean compare(double x,
double y)
throws RuntimeError
RuntimeErrorpublic Dimensional dimop(Dimensional dl, Dimensional dr) throws ContentError
dimop in class AbstractFloatOperatorNodeContentErrorpublic void checkDimensions(HashMap<String,Dimensional> dimHM) throws ContentError
checkDimensions in interface BooleanParseTreeNodeContentErrorpublic abstract boolean compareInts(long ileft,
long iright)
public Dimensional evaluateDimensional(HashMap<String,Dimensional> dhm) throws ContentError
evaluateDimensional in interface ParseTreeNodeevaluateDimensional in class AbstractFloatOperatorNodeContentErrorCopyright © 2019. All rights reserved.