Package com.bc.ceres.binio.expr
Class SelectionExpr
- java.lang.Object
-
- com.bc.ceres.binio.expr.AbstractExpression
-
- com.bc.ceres.binio.expr.SelectionExpr
-
- All Implemented Interfaces:
Expression
public class SelectionExpr extends AbstractExpression
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SelectionExpr.Case
static class
SelectionExpr.Default
-
Constructor Summary
Constructors Constructor Description SelectionExpr(Expression condition, SelectionExpr.Case[] cases)
-
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
-
SelectionExpr
public SelectionExpr(Expression condition, SelectionExpr.Case[] cases)
-
-
Method Detail
-
isConstant
public boolean isConstant()
-
evaluate
public Object evaluate(CompoundData context) throws IOException
- Throws:
IOException
-
-