/* * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.source.tree; /** * A tree node for the conditional operator ? :. * * For example: * <pre> * <em>condition</em> ? <em>trueExpression</em> : <em>falseExpression</em> * </pre> * * @jls section 15.25 * * @author Peter von der Ahé * @author Jonathan Gibbons * @since 1.6 */ public interface ConditionalExpressionTree extends ExpressionTree { ExpressionTree getCondition(); ExpressionTree getTrueExpression(); ExpressionTree getFalseExpression(); }