Package com.bc.ceres.binio.expr
Class ChoiceExpr
- java.lang.Object
-
- com.bc.ceres.binio.expr.AbstractExpression
-
- com.bc.ceres.binio.expr.ChoiceExpr
-
- All Implemented Interfaces:
Expression
public class ChoiceExpr extends AbstractExpression
-
-
Constructor Summary
Constructors Constructor Description ChoiceExpr(Expression condition, Expression expression1, Expression expression2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(CompoundData context)
boolean
isConstant()
-
Methods inherited from class com.bc.ceres.binio.expr.AbstractExpression
getParent, setParent
-
-
-
-
Constructor Detail
-
ChoiceExpr
public ChoiceExpr(Expression condition, Expression expression1, Expression expression2)
-
-
Method Detail
-
isConstant
public boolean isConstant()
-
evaluate
public Object evaluate(CompoundData context) throws IOException
- Throws:
IOException
-
-