ExpressionTree
, Tree
public interface ConditionalExpressionTree extends ExpressionTree
condition ? trueExpression : falseExpression
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getCondition() |
Returns the condition.
|
ExpressionTree |
getFalseExpression() |
Returns the expression to be evaluated if the condition is false.
|
ExpressionTree |
getTrueExpression() |
Returns the expression to be evaluated if the condition is true.
|
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 © 2005, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b149-1