Package org.openstreetmap.josm.io.nmea
Enum NmeaReader.GLL
- java.lang.Object
-
- java.lang.Enum<NmeaReader.GLL>
-
- org.openstreetmap.josm.io.nmea.NmeaReader.GLL
-
- All Implemented Interfaces:
Serializable
,Comparable<NmeaReader.GLL>
- Enclosing class:
- NmeaReader
static enum NmeaReader.GLL extends Enum<NmeaReader.GLL>
Geographic Position - Latitude/Longitude.Latitude and Longitude of vessel position, time of position fix and status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LATITUDE
LATITUDE_NS
LONGITUDE
LONGITUDE_EW
MODE
Mode (A = autonom; D = differential; E = estimated; N = not valid; S = simulated)STATUS
UTC
-
Field Summary
Fields Modifier and Type Field Description (package private) int
position
-
Constructor Summary
Constructors Modifier Constructor Description private
GLL(int position)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NmeaReader.GLL
valueOf(String name)
Returns the enum constant of this type with the specified name.static NmeaReader.GLL[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LATITUDE
public static final NmeaReader.GLL LATITUDE
-
LATITUDE_NS
public static final NmeaReader.GLL LATITUDE_NS
-
LONGITUDE
public static final NmeaReader.GLL LONGITUDE
-
LONGITUDE_EW
public static final NmeaReader.GLL LONGITUDE_EW
-
UTC
public static final NmeaReader.GLL UTC
-
STATUS
public static final NmeaReader.GLL STATUS
-
MODE
public static final NmeaReader.GLL MODE
Mode (A = autonom; D = differential; E = estimated; N = not valid; S = simulated)- Since:
- NMEA 2.3
-
-
Field Detail
-
position
final int position
-
-
Constructor Detail
-
GLL
private GLL(int position)
-
-
Method Detail
-
values
public static NmeaReader.GLL[] 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 (NmeaReader.GLL c : NmeaReader.GLL.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NmeaReader.GLL 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
-
-