public enum TrackEnvironment extends Enum<TrackEnvironment>
| Enum Constant and Description |
|---|
AIR
Between sea level and the Karman line, which is the altitude of 100 kilometres (62 mi).
|
LAND
On the surface of dry land.
|
SPACE
Above the Karman line, which is the altitude of 100 kilometres (62 mi).
|
SUBSURFACE
Under the surface of a water body.
|
SURFACE
On a water body (ie: water borne vessels)
|
UNKNOWN
The environment is not known.
|
| Modifier and Type | Method and Description |
|---|---|
static TrackEnvironment |
fromString(String value) |
String |
toString() |
static TrackEnvironment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackEnvironment SURFACE
public static final TrackEnvironment SUBSURFACE
public static final TrackEnvironment LAND
public static final TrackEnvironment AIR
public static final TrackEnvironment SPACE
public static final TrackEnvironment UNKNOWN
public static TrackEnvironment[] values()
for (TrackEnvironment c : TrackEnvironment.values()) System.out.println(c);
public static TrackEnvironment 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 TrackEnvironment fromString(String value)
public String toString()
toString in class Enum<TrackEnvironment>Copyright © 2013–2020. All rights reserved.