public static enum SwitchEntry.Type extends Enum<SwitchEntry.Type>
Enum Constant and Description |
---|
BLOCK |
EXPRESSION |
STATEMENT_GROUP |
THROWS_STATEMENT |
Modifier and Type | Method and Description |
---|---|
static SwitchEntry.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwitchEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwitchEntry.Type STATEMENT_GROUP
public static final SwitchEntry.Type EXPRESSION
public static final SwitchEntry.Type BLOCK
public static final SwitchEntry.Type THROWS_STATEMENT
public static SwitchEntry.Type[] values()
for (SwitchEntry.Type c : SwitchEntry.Type.values()) System.out.println(c);
public static SwitchEntry.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2024. All rights reserved.