Enum Observer.ObserverType
- java.lang.Object
-
- java.lang.Enum<Observer.ObserverType>
-
- org.orekit.estimation.measurements.Observer.ObserverType
-
- All Implemented Interfaces:
Serializable,Comparable<Observer.ObserverType>
- Enclosing interface:
- Observer
public static enum Observer.ObserverType extends Enum<Observer.ObserverType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GROUNDSTATIONIndicates a ground-based observation station.SATELLITEIndicates a space-based observer.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Observer.ObserverTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Observer.ObserverType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GROUNDSTATION
public static final Observer.ObserverType GROUNDSTATION
Indicates a ground-based observation station.
-
SATELLITE
public static final Observer.ObserverType SATELLITE
Indicates a space-based observer.
-
-
Method Detail
-
values
public static Observer.ObserverType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Observer.ObserverType c : Observer.ObserverType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Observer.ObserverType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-