public enum GotoExpressionKind extends Enum<GotoExpressionKind>
GotoStatement represents.| 枚举常量和说明 |
|---|
Break
A GotoExpression that represents a break statement.
|
Continue
A GotoExpression that represents a continue statement.
|
Goto
A GotoExpression that represents a jump to some location.
|
Return
A GotoExpression that represents a return statement.
|
Sequence
A GotoExpression that evaluates an expression and carries on.
|
public static final GotoExpressionKind Goto
public static final GotoExpressionKind Return
public static final GotoExpressionKind Break
public static final GotoExpressionKind Continue
public static final GotoExpressionKind Sequence
public static GotoExpressionKind[] values()
for (GotoExpressionKind c : GotoExpressionKind.values()) System.out.println(c);
public static GotoExpressionKind valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.