|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EphemerisBody> fr.cnes.sirius.validate.mocks.ephemeris.EphemerisBody
public enum EphemerisBody
Class implementing the IEphemerisBody interface with the implementation of the methods returning the attraction coefficient and the definition for the IAU pole. The methods for the IAU pole have been copied from the JPL ephemeris classes.
Enum Constant Summary | |
---|---|
MOON
The Moon. |
|
SUN
The Sun. |
Method Summary | |
---|---|
static EphemerisBody |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EphemerisBody[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface fr.cnes.sirius.validate.mocks.ephemeris.IEphemerisBody |
---|
getGM, getIAUPole, name |
Enum Constant Detail |
---|
public static final EphemerisBody SUN
public static final EphemerisBody MOON
Method Detail |
---|
public static EphemerisBody[] values()
for (EphemerisBody c : EphemerisBody.values()) System.out.println(c);
public static EphemerisBody valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |