public class AndNode extends AbstractBooleanOperatorNode
| Modifier and Type | Field and Description |
|---|---|
static String |
SYMBOL |
leftrightBNARY_OPERATOR, CLOSE, CONSTANT, OPEN, type, UNARY_OPERATOR, UNKNOWN, VARIABLE| Constructor and Description |
|---|
AndNode() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bool(boolean x,
boolean y) |
void |
checkDimensions(HashMap<String,Dimensional> dimHM) |
AndNode |
copy() |
void |
doVisit(ExpressionVisitor ev) |
int |
getPrecedence() |
AbstractBVal |
makeEvaluable(HashMap<String,Double> fixedHM) |
checkLeftRight, evaluateDimensional, getDimensionality, substituteVariables, toExpressionclaim, claimLeft, getSymbol, replaceChild, replaceSymbols, toStringclaimRightdeparent, detachNext, detachPrevious, dispose, isClose, isOpen, linkNext, next, parent, previous, remove, replaceNext, replacePrevious, replaceWith, setParent, siblingsToStringpublic static final String SYMBOL
public AndNode copy()
copy in class AbstractOperatorNodepublic int getPrecedence()
getPrecedence in class AbstractOperatorNodepublic boolean bool(boolean x,
boolean y)
bool in class AbstractBooleanOperatorNodepublic AbstractBVal makeEvaluable(HashMap<String,Double> fixedHM) throws ContentError
ContentErrorpublic void checkDimensions(HashMap<String,Dimensional> dimHM) throws ContentError
ContentErrorpublic void doVisit(ExpressionVisitor ev) throws ContentError
ContentErrorCopyright © 2019. All rights reserved.