- All Implemented Interfaces:
Serializable,Comparable<Fix>,Constable
Type of GPS fix.
none means GPS had no fix. To signify "the fix info
is unknown, leave out Fix entirely. pps = military signal
used.- Since:
- 1.0
- Version:
- 1.2
-
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 TypeMethodDescriptiongetValue()Return the string representation of the GPSFix.Return theFixconstant for the given fixvalue.static FixReturns the enum constant of this class with the specified name.static Fix[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
DIM_2
-
DIM_3
-
DGPS
-
PPS
-
-
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
-
getValue
Return the string representation of the GPSFix.none,2d.3d,dgpsorpps.- Returns:
- the string representation of the GPS
Fix
-
ofName
Return theFixconstant for the given fixvalue.- Parameters:
name- the GPS fix names- Returns:
- the GPS fix for the given value, or
Optional.empty()if the givennameis invalid
-