Package hec.model
Class Expression
java.lang.Object
hec.model.LogicNode
hec.model.Operand
hec.model.Expression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
evaluate
(RunTimeStep rts) Abstract Method.void
void
setExpressionValue
(boolean b) Testing method to set the value to return from evaluatetoString()
Methods inherited from class hec.model.LogicNode
main, testOperatorNodes
-
Constructor Details
-
Expression
public Expression() -
Expression
-
-
Method Details
-
evaluate
Description copied from class:LogicNode
Abstract Method. Returns a true/false value based upon the type of node. Operator nodes return the logical operator value based on the values of its children. Expression nodes return values based upon the particular expression the represent i.e. (X < 5) -
setExpression
-
setExpressionValue
public void setExpressionValue(boolean b) Testing method to set the value to return from evaluate -
toString
-