📄 iftree.java
字号:
/* * @(#)IfTree.java 1.2 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * Use and Distribution is subject to the Java Research License available * at <http://wwws.sun.com/software/communitysource/jrl.html>. */package com.sun.source.tree;/** * A tree node for an 'if' statement. * * For example: * <pre> * if ( <em>condition</em> ) * <em>thenStatement</em> * * if ( <em>condition</em> ) * <em>thenStatement</em> * else * <em>elseStatement</em> * </pre> * * @see "The Java Language Specification, 3rd ed, section 14.9" * * @author Peter von der Ahé * @author Jonathan Gibbons * @since 1.6 */public interface IfTree extends StatementTree { ExpressionTree getCondition(); StatementTree getThenStatement(); /** * @return null if this if statement has no else branch. */ StatementTree getElseStatement();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -