Package org.openstreetmap.josm.io.nmea
Enum NmeaParser.GLL
- java.lang.Object
-
- java.lang.Enum<NmeaParser.GLL>
-
- org.openstreetmap.josm.io.nmea.NmeaParser.GLL
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NmeaParser.GLL>
- Enclosing class:
- NmeaParser
static enum NmeaParser.GLL extends java.lang.Enum<NmeaParser.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 NmeaParser.GLL
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NmeaParser.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 NmeaParser.GLL LATITUDE
-
LATITUDE_NS
public static final NmeaParser.GLL LATITUDE_NS
-
LONGITUDE
public static final NmeaParser.GLL LONGITUDE
-
LONGITUDE_EW
public static final NmeaParser.GLL LONGITUDE_EW
-
UTC
public static final NmeaParser.GLL UTC
-
STATUS
public static final NmeaParser.GLL STATUS
-
MODE
public static final NmeaParser.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 NmeaParser.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 (NmeaParser.GLL c : NmeaParser.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 NmeaParser.GLL 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
-
-