ExpressionTree
, Tree
public interface ConditionalExpressionTree extends ExpressionTree
condition ? trueExpression : falseExpression
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getCondition() |
Returns the condition expression of this ternary expression.
|
ExpressionTree |
getFalseExpression() |
Returns the false part of this ternary expression.
|
ExpressionTree |
getTrueExpression() |
Returns the true part of this ternary expression.
|
accept, getEndPosition, getKind, getStartPosition
ExpressionTree getCondition()
ExpressionTree getTrueExpression()
ExpressionTree getFalseExpression()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-1