casetree.java

来自「Mobile 应用程序使用 Java Micro Edition (Java M」· Java 代码 · 共 40 行

JAVA
40
字号
/* * @(#)CaseTree.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;import java.util.List;/** * A tree node for a 'case' in a 'switch' statement. * * For example: * <pre> *   case <em>expression</em> :  *       <em>statements</em> * *   default :  *       <em>statements</em> * </pre> * * @see "The Java Language Specification, 3rd ed, section 14.11" * * @author Peter von der Ah&eacute; * @author Jonathan Gibbons * @since 1.6 */public interface CaseTree extends Tree {    /**     * @return null if and only if this Case is {@code default:}     */    ExpressionTree getExpression();    List<? extends StatementTree> getStatements();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?