public static enum Region.RegionType extends Enum<Region.RegionType>
Enum Constant and Description |
---|
CONTINENT
Type representing a continent.
|
DEPRECATED
Type representing a region whose code has been deprecated, usually
due to a country splitting into multiple territories or changing its name.
|
GROUPING
Type representing a grouping of territories that is not to be used in
the normal WORLD/CONTINENT/SUBCONTINENT/TERRITORY containment tree.
|
SUBCONTINENT
Type representing a sub-continent.
|
TERRITORY
Type representing a territory.
|
UNKNOWN
Type representing the unknown region.
|
WORLD
Type representing the whole world.
|
Modifier and Type | Method and Description |
---|---|
static Region.RegionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Region.RegionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region.RegionType UNKNOWN
public static final Region.RegionType TERRITORY
public static final Region.RegionType WORLD
public static final Region.RegionType CONTINENT
public static final Region.RegionType SUBCONTINENT
public static final Region.RegionType GROUPING
public static final Region.RegionType DEPRECATED
public static Region.RegionType[] values()
for (Region.RegionType c : Region.RegionType.values()) System.out.println(c);
public static Region.RegionType 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 © 2016 Unicode, Inc. and others.