public static enum SpatialParameters.Units extends java.lang.Enum<SpatialParameters.Units>
Enum Constant and Description |
---|
CM |
FOOT |
INCH |
KM |
M |
MILE |
MM |
NAUT_MILE |
Modifier and Type | Method and Description |
---|---|
static SpatialParameters.Units |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpatialParameters.Units[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpatialParameters.Units M
public static final SpatialParameters.Units KM
public static final SpatialParameters.Units CM
public static final SpatialParameters.Units MM
public static final SpatialParameters.Units MILE
public static final SpatialParameters.Units NAUT_MILE
public static final SpatialParameters.Units FOOT
public static final SpatialParameters.Units INCH
public static SpatialParameters.Units[] values()
for (SpatialParameters.Units c : SpatialParameters.Units.values()) System.out.println(c);
public static SpatialParameters.Units 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