public enum Dimension extends Enum<Dimension>
| Enum Constant and Description |
|---|
_2D
Longitude and latitude
|
_3D
Longitude and latitude and altitude
|
NO_FIX
No GPS at all
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Dimension |
valueForString(String value)
Convert String to Dimension
|
static Dimension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dimension NO_FIX
public static final Dimension _2D
public static final Dimension _3D
public static Dimension[] values()
for (Dimension c : Dimension.values()) System.out.println(c);
public static Dimension 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