- 
- All Superinterfaces:
- ExpressionTree,- Tree
 
 public interface ConditionalExpressionTree extends ExpressionTree A tree node for the conditional operator ? :. For example:condition ? trueExpression : falseExpression - Since:
- 1.6
- See The Java™ Language Specification:
- section 15.25
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTreegetCondition()Returns the condition.ExpressionTreegetFalseExpression()Returns the expression to be evaluated if the condition is false.ExpressionTreegetTrueExpression()Returns the expression to be evaluated if the condition is true.
 
- 
- 
- 
Method Detail- 
getConditionExpressionTree getCondition() Returns the condition.- Returns:
- the condition
 
 - 
getTrueExpressionExpressionTree getTrueExpression() Returns the expression to be evaluated if the condition is true.- Returns:
- the expression to be evaluated if the condition is true
 
 - 
getFalseExpressionExpressionTree getFalseExpression() Returns the expression to be evaluated if the condition is false.- Returns:
- the expression to be evaluated if the condition is false
 
 
- 
 
-