public enum JplDECentralBody extends Enum<JplDECentralBody> implements Enumeration
Enum Constant and Description |
---|
EARTH
Planet Earth
|
JUPITER
Planet Jupiter
|
MARS
Planet Mars
|
MERCURY
Planet Mercury
|
MOON
Earth's Moon in Geocentric coordinates
|
NEPTUNE
Planet Neptune
|
PLUTO
Planet Pluto
|
SATURN
Planet Saturn
|
SUN
The Sun
|
URANUS
Planet Uranus
|
VENUS
Planet Venus
|
Modifier and Type | Method and Description |
---|---|
static JplDECentralBody |
getDefault()
Get the enum constant that is considered to be the default.
|
static JplDECentralBody |
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 JplDECentralBody |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JplDECentralBody[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JplDECentralBody MERCURY
public static final JplDECentralBody VENUS
public static final JplDECentralBody EARTH
public static final JplDECentralBody MARS
public static final JplDECentralBody JUPITER
public static final JplDECentralBody SATURN
public static final JplDECentralBody URANUS
public static final JplDECentralBody NEPTUNE
public static final JplDECentralBody PLUTO
public static final JplDECentralBody MOON
public static final JplDECentralBody SUN
public static JplDECentralBody[] values()
for (JplDECentralBody c : JplDECentralBody.values()) System.out.println(c);
public static JplDECentralBody 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 JplDECentralBody getFromValue(int value)
value
- a numeric value.@Nonnull public static JplDECentralBody getDefault()