public enum MgrsType extends Enum<MgrsType>
Enum Constant and Description |
---|
UPS
Indicates the MGRS type is for UPS, i.e., Universal Polar Stereographic.
|
UTM
Indicates the MGRS type is for UTM, i.e., Universal Transverse Mercator.
|
Modifier and Type | Method and Description |
---|---|
static MgrsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MgrsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MgrsType UTM
public static final MgrsType UPS
public static MgrsType[] values()
for (MgrsType c : MgrsType.values()) System.out.println(c);
public static MgrsType 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 null