Package org.openstreetmap.josm.io.nmea
Enum NmeaParser.GGA
- java.lang.Object
-
- java.lang.Enum<NmeaParser.GGA>
-
- org.openstreetmap.josm.io.nmea.NmeaParser.GGA
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NmeaParser.GGA>
- Enclosing class:
- NmeaParser
static enum NmeaParser.GGA extends java.lang.Enum<NmeaParser.GGA>
Global Positioning System Fix Data.Time, position and fix related data for a GPS receiver.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GPS_AGE
HDOP
HEIGHT
HEIGHT_2
HEIGHT_2_UNTIS
HEIGHT_UNTIS
LATITUDE
LATITUDE_NAME
LONGITUDE
LONGITUDE_NAME
QUALITY
Quality (0 = invalid, 1 = GPS, 2 = DGPS, 6 = estimanted (@since NMEA 2.3))REF
SATELLITE_COUNT
TIME
-
Field Summary
Fields Modifier and Type Field Description (package private) int
position
-
Constructor Summary
Constructors Modifier Constructor Description private
GGA(int position)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NmeaParser.GGA
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NmeaParser.GGA[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIME
public static final NmeaParser.GGA TIME
-
LATITUDE
public static final NmeaParser.GGA LATITUDE
-
LATITUDE_NAME
public static final NmeaParser.GGA LATITUDE_NAME
-
LONGITUDE
public static final NmeaParser.GGA LONGITUDE
-
LONGITUDE_NAME
public static final NmeaParser.GGA LONGITUDE_NAME
-
QUALITY
public static final NmeaParser.GGA QUALITY
Quality (0 = invalid, 1 = GPS, 2 = DGPS, 6 = estimanted (@since NMEA 2.3))
-
SATELLITE_COUNT
public static final NmeaParser.GGA SATELLITE_COUNT
-
HDOP
public static final NmeaParser.GGA HDOP
-
HEIGHT
public static final NmeaParser.GGA HEIGHT
-
HEIGHT_UNTIS
public static final NmeaParser.GGA HEIGHT_UNTIS
-
HEIGHT_2
public static final NmeaParser.GGA HEIGHT_2
-
HEIGHT_2_UNTIS
public static final NmeaParser.GGA HEIGHT_2_UNTIS
-
GPS_AGE
public static final NmeaParser.GGA GPS_AGE
-
REF
public static final NmeaParser.GGA REF
-
-
Field Detail
-
position
final int position
-
-
Constructor Detail
-
GGA
private GGA(int position)
-
-
Method Detail
-
values
public static NmeaParser.GGA[] 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 (NmeaParser.GGA c : NmeaParser.GGA.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NmeaParser.GGA valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-