Package org.orekit.gnss
Enum SatelliteSystem
- java.lang.Object
-
- java.lang.Enum<SatelliteSystem>
-
- org.orekit.gnss.SatelliteSystem
-
- All Implemented Interfaces:
Serializable
,Comparable<SatelliteSystem>
public enum SatelliteSystem extends Enum<SatelliteSystem>
Enumerate for satellite system.- Since:
- 9.2
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getKey()
Get the key for the system.static SatelliteSystem
parseSatelliteSystem(String s)
Parse a string to get the satellite system.static SatelliteSystem
valueOf(String name)
Returns the enum constant of this type with the specified name.static SatelliteSystem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GPS
public static final SatelliteSystem GPS
GPS system.
-
GLONASS
public static final SatelliteSystem GLONASS
GLONASS system.
-
GALILEO
public static final SatelliteSystem GALILEO
Galileo system.
-
BEIDOU
public static final SatelliteSystem BEIDOU
Beidou system.
-
QZSS
public static final SatelliteSystem QZSS
Quasi-Zenith Satellite System system.
-
IRNSS
public static final SatelliteSystem IRNSS
Indian Regional Navigation Satellite System system.
-
SBAS
public static final SatelliteSystem SBAS
SBAS system.
-
MIXED
public static final SatelliteSystem MIXED
Mixed system.
-
-
Method Detail
-
values
public static SatelliteSystem[] 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 (SatelliteSystem c : SatelliteSystem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SatelliteSystem 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
-
getKey
public char getKey()
Get the key for the system.- Returns:
- key for the system
-
parseSatelliteSystem
public static SatelliteSystem parseSatelliteSystem(String s) throws OrekitIllegalArgumentException
Parse a string to get the satellite system.The string first character must be the satellite system.
- Parameters:
s
- string to parse- Returns:
- the satellite system
- Throws:
OrekitIllegalArgumentException
- if the string does not correspond to a satellite system key
-
-