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()
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1