com.sun.source.tree
Interface ConditionalExpressionTree
- 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 Also:
- "The Java Language Specification, 3rd ed, section 15.25"
Nested classes/interfaces inherited from interface com.sun.source.tree.Tree |
Tree.Kind |
getCondition
ExpressionTree getCondition()
getTrueExpression
ExpressionTree getTrueExpression()
getFalseExpression
ExpressionTree getFalseExpression()
Submit a bug or feature
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved.