KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > source > tree > ConditionalExpressionTree


1 /*
2  * @(#)ConditionalExpressionTree.java 1.2 05/11/17
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  *
7  * Use and Distribution is subject to the Java Research License available
8  * at <http://wwws.sun.com/software/communitysource/jrl.html>.
9  */

10
11 package com.sun.source.tree;
12
13 /**
14  * A tree node for the conditional operator ? :.
15  *
16  * For example:
17  * <pre>
18  * <em>condition</em> ? <em>trueExpression</em> : <em>falseExpression</em>
19  * </pre>
20  *
21  * @see "The Java Language Specification, 3rd ed, section 15.25"
22  *
23  * @author Peter von der Ah&eacute;
24  * @author Jonathan Gibbons
25  * @since 1.6
26  */

27 public interface ConditionalExpressionTree extends ExpressionTree {
28     ExpressionTree getCondition();
29     ExpressionTree getTrueExpression();
30     ExpressionTree getFalseExpression();
31 }
32
Popular Tags