ecologylab.sensor.gps.data.dataset
Enum GLL

java.lang.Object
  extended by java.lang.Enum<GLL>
      extended by ecologylab.sensor.gps.data.dataset.GLL
All Implemented Interfaces:
GPSDataFieldBase, java.io.Serializable, java.lang.Comparable<GLL>

public enum GLL
extends java.lang.Enum<GLL>
implements GPSDataFieldBase

GLL data set -- Geographic position - Latitude and Longitude

Author:
Zachary O. Toups (toupsz@cs.tamu.edu)

Enum Constant Summary
CHECKSUM
           
EWLON
           
GPS_DATA_VALID
           
LAT
           
LON
           
NSLAT
           
UTC_POS_TIME
           
 
Method Summary
 void update(java.lang.String src, GPSDatum dst)
          Updates dst's internal data by parsing src according to the interpretation of the current mode.
static GLL valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GLL[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LAT

public static final GLL LAT

NSLAT

public static final GLL NSLAT

LON

public static final GLL LON

EWLON

public static final GLL EWLON

UTC_POS_TIME

public static final GLL UTC_POS_TIME

GPS_DATA_VALID

public static final GLL GPS_DATA_VALID

CHECKSUM

public static final GLL CHECKSUM
Method Detail

values

public static final GLL[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GLL c : GLL.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static 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 name

update

public void update(java.lang.String src,
                   GPSDatum dst)
Updates dst's internal data by parsing src according to the interpretation of the current mode.

Specified by:
update in interface GPSDataFieldBase
Parameters:
data -
decLoc -
dst -