Package org.orekit.files.ccsds.ndm.tdm
Enum RangeUnits
- java.lang.Object
-
- java.lang.Enum<RangeUnits>
-
- org.orekit.files.ccsds.ndm.tdm.RangeUnits
-
- All Implemented Interfaces:
Serializable
,Comparable<RangeUnits>
public enum RangeUnits extends Enum<RangeUnits>
Units of the range observable.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RangeUnits
valueOf(String name)
Returns the enum constant of this type with the specified name.static RangeUnits[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
km
public static final RangeUnits km
Range in kilometers.
-
s
public static final RangeUnits s
Range in seconds.
-
RU
public static final RangeUnits RU
Range in "Range Units" with changing frequency.
-
-
Method Detail
-
values
public static RangeUnits[] 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 (RangeUnits c : RangeUnits.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RangeUnits 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
-
-