Interface ConditionalExpressionTree
- All Superinterfaces:
- ExpressionTree,- Tree
A tree node for the conditional operator 
? :.
 For example:
 condition ? trueExpression : falseExpression
- See Java Language Specification:
- 
15.25 Conditional Operator ? :
- Since:
- 1.6
- 
Nested Class Summary
- 
Method SummaryModifier and TypeMethodDescriptionReturns the condition.Returns the expression to be evaluated if the condition is false.Returns the expression to be evaluated if the condition is true.
- 
Method Details- 
getCondition
- 
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
 
 
-