public enum OrbitType extends Enum<OrbitType> implements Enumeration
| Enum Constant and Description | 
|---|
CIRCULAR
An orbit where the eccentricity is zero. 
 | 
ELLIPTICAL
An orbit where the eccentricity is between zero and unity. 
 | 
HYPERBOLIC
An orbit with an eccentricity greater than unity. 
 | 
INVALID
An orbit where the eccentricity is less than zero. 
 | 
PARABOLIC
An orbit where the eccentricity is exactly unity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static OrbitType | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static OrbitType | 
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 OrbitType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static OrbitType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final OrbitType CIRCULAR
public static final OrbitType ELLIPTICAL
public static final OrbitType PARABOLIC
public static final OrbitType HYPERBOLIC
public static final OrbitType INVALID
public static OrbitType[] values()
for (OrbitType c : OrbitType.values()) System.out.println(c);
public static OrbitType 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 OrbitType getFromValue(int value)
value - a numeric value.