- 
- All Superinterfaces:
- ExpressionTree,- Tree
 
 
 public interface ConditionalExpressionTree extends ExpressionTree A tree node for the conditional operator ? :. For example:condition ? trueExpression : falseExpression - Since:
- 9
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTreegetCondition()Returns the condition expression of this ternary expression.ExpressionTreegetFalseExpression()Returns the false part of this ternary expression.ExpressionTreegetTrueExpression()Returns the true part of this ternary expression.- 
Methods inherited from interface jdk.nashorn.api.tree.Treeaccept, getEndPosition, getKind, getStartPosition
 
- 
 
- 
- 
- 
Method Detail- 
getConditionExpressionTree getCondition() Returns the condition expression of this ternary expression.- Returns:
- the condition expression
 
 - 
getTrueExpressionExpressionTree getTrueExpression() Returns the true part of this ternary expression.- Returns:
- the 'true' part expression
 
 - 
getFalseExpressionExpressionTree getFalseExpression() Returns the false part of this ternary expression.- Returns:
- the 'false' part expression
 
 
- 
 
-