com.hummeling.if97
static enum Region2.SubRegion extends java.lang.Enum<Region2.SubRegion>
Modifier and Type | Method and Description |
---|---|
static Region2.SubRegion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Region2.SubRegion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region2.SubRegion A
public static final Region2.SubRegion B
public static final Region2.SubRegion C
public static Region2.SubRegion[] values()
for (Region2.SubRegion c : Region2.SubRegion.values()) System.out.println(c);
public static Region2.SubRegion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null