public static enum StkEphemerisFile.DistanceUnit extends Enum<StkEphemerisFile.DistanceUnit> implements Enumeration
Enum Constant and Description |
---|
FEET
Distance units are in feet.
|
KILOFEET
Distance units are in kilofeet.
|
KILOMETERS
Distance units are in kilometers.
|
METERS
Distance units are in meters.
|
NAUTICAL_MILES
Distance units are in nautical miles.
|
STATUTE_MILES
Distance units are in statute miles.
|
Modifier and Type | Method and Description |
---|---|
static StkEphemerisFile.DistanceUnit |
getDefault()
Get the enum constant that is considered to be the default.
|
static StkEphemerisFile.DistanceUnit |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static StkEphemerisFile.DistanceUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StkEphemerisFile.DistanceUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StkEphemerisFile.DistanceUnit METERS
public static final StkEphemerisFile.DistanceUnit KILOMETERS
public static final StkEphemerisFile.DistanceUnit FEET
public static final StkEphemerisFile.DistanceUnit KILOFEET
public static final StkEphemerisFile.DistanceUnit NAUTICAL_MILES
public static final StkEphemerisFile.DistanceUnit STATUTE_MILES
public static StkEphemerisFile.DistanceUnit[] values()
for (StkEphemerisFile.DistanceUnit c : StkEphemerisFile.DistanceUnit.values()) System.out.println(c);
public static StkEphemerisFile.DistanceUnit 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 int getValue()
getValue
in interface Enumeration
@Nonnull public static StkEphemerisFile.DistanceUnit getFromValue(int value)
value
- a numeric value.@Nonnull public static StkEphemerisFile.DistanceUnit getDefault()