? :.
For example:
condition ? trueExpression : falseExpression
| Modifier and Type | Method and Description |
|---|---|
| public ExpressionTree | |
| public ExpressionTree | Returns: the expression to be evaluated if the condition is falseReturns the expression to be evaluated if the condition is false. |
| public ExpressionTree | Returns: the expression to be evaluated if the condition is trueReturns the expression to be evaluated if the condition is true. |
| getCondition | back to summary |
|---|---|
| public ExpressionTree getCondition() Returns the condition.
| |
| getFalseExpression | back to summary |
|---|---|
| public ExpressionTree getFalseExpression() Returns the expression to be evaluated if the condition is false.
| |
| getTrueExpression | back to summary |
|---|---|
| public ExpressionTree getTrueExpression() Returns the expression to be evaluated if the condition is true.
| |