Package org.orekit.gnss.metric.ntrip
Enum Class CarrierPhase
- All Implemented Interfaces:
Serializable,Comparable<CarrierPhase>,Constable
Enumerate for carrier phase in
DataStreamRecord.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CarrierPhasegetCarrierPhase(String code) Get the carrier phase corresponding to a code.static CarrierPhaseReturns the enum constant of this class with the specified name.static CarrierPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO
No. -
L1
Yes, L1. -
L1_L2
Yes, L1&L2.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCarrierPhase
Get the carrier phase corresponding to a code.- Parameters:
code- carrier phase code- Returns:
- the carrier phase corresponding to the code
-