|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SkyPositionType> edu.nrao.sss.astronomy.SkyPositionType
public enum SkyPositionType
An indicator for the form in which position information is held.
Version Info:
$Revision: 550 $ |
$Date: 2007-04-22 12:25:08 -0600 (Sun, 22 Apr 2007) $ |
$Author: dharland $ |
Enum Constant Summary | |
---|---|
EPHEMERIS_TABLE
Position information stored as an ephemeris table. |
|
INTERNAL_EPHEMERIS
Position information stored as the name of a body that can later be turned into an ephemeris table. |
|
ORBITAL_ELEMENTS
Position information stored as orbital elements. |
|
POLYNOMIAL
Position information stored as a single polynomial equation. |
|
POLYNOMIAL_TABLE
Position information stored as a series of one or more polynomial equations where the independent variable is time. |
|
SIMPLE
The simplest form of position information. |
Method Summary | |
---|---|
static SkyPositionType |
fromString(String text)
Returns the source position type represented by text . |
static SkyPositionType |
getDefault()
Returns a default source position type. |
String |
toString()
Returns a text representation of this enumeration constant. |
static SkyPositionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SkyPositionType[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SkyPositionType SIMPLE
public static final SkyPositionType POLYNOMIAL
public static final SkyPositionType POLYNOMIAL_TABLE
public static final SkyPositionType ORBITAL_ELEMENTS
public static final SkyPositionType EPHEMERIS_TABLE
public static final SkyPositionType INTERNAL_EPHEMERIS
Method Detail |
---|
public static SkyPositionType[] values()
for (SkyPositionType c : SkyPositionType.values()) System.out.println(c);
public static SkyPositionType 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 nullpublic static SkyPositionType getDefault()
public String toString()
toString
in class Enum<SkyPositionType>
public static SkyPositionType fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a source position type.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |