T
- The result typepublic static interface TLcdExpressionFactory.CaseExpression<T> extends ILcdExpression<T>
See TLcdExpressionFactory.cases(com.luciad.util.expression.ILcdExpression<T>)
for more details and examples.
Modifier and Type | Method and Description |
---|---|
TLcdExpressionFactory.CaseExpression<T> |
when(ILcdExpression<Boolean> aIf,
ILcdExpression<T> aThen)
Adds a new if-then expression to this 'case' expression.
|
TLcdExpressionFactory.CaseExpression<T> |
when(ILcdExpression<Boolean> aIf,
T aThen)
Adds a new if-then expression to this 'case' expression.
|
TLcdExpressionFactory.CaseExpression<T> when(ILcdExpression<Boolean> aIf, ILcdExpression<T> aThen)
aIf
- The conditionaThen
- The expression evaluated when aIf
returns trueTLcdExpressionFactory.CaseExpression<T> when(ILcdExpression<Boolean> aIf, T aThen)
aIf
- The conditionaThen
- The value returned when aIf
returns true