public enum CoordinateUnit extends Enum<CoordinateUnit>
Enum Constant and Description |
---|
DEFAULT |
DEGREE |
DEGREE_MINUTE |
DEGREE_MINUTE_SECOND |
RELATIVE_DISTANCE |
UTM |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static CoordinateUnit |
fromValue(int value) |
static CoordinateUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoordinateUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoordinateUnit DEFAULT
public static final CoordinateUnit DEGREE
public static final CoordinateUnit DEGREE_MINUTE
public static final CoordinateUnit DEGREE_MINUTE_SECOND
public static final CoordinateUnit UTM
public static final CoordinateUnit RELATIVE_DISTANCE
public static CoordinateUnit[] values()
for (CoordinateUnit c : CoordinateUnit.values()) System.out.println(c);
public static CoordinateUnit 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 nullpublic static CoordinateUnit fromValue(int value)
Copyright © 2022. All rights reserved.