org.openstreetmap.josm.io
Enum NmeaReader.GPVTG

java.lang.Object
  extended by java.lang.Enum<NmeaReader.GPVTG>
      extended by org.openstreetmap.josm.io.NmeaReader.GPVTG
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NmeaReader.GPVTG>
Enclosing class:
NmeaReader

public static enum NmeaReader.GPVTG
extends java.lang.Enum<NmeaReader.GPVTG>


Enum Constant Summary
COURSE
           
COURSE_M
           
COURSE_M_REF
           
COURSE_REF
           
REST
           
SPEED_KMH
           
SPEED_KMH_UNIT
           
SPEED_KN
           
SPEED_KN_UNIT
           
 
Field Summary
 int position
           
 
Method Summary
static NmeaReader.GPVTG valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NmeaReader.GPVTG[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COURSE

public static final NmeaReader.GPVTG COURSE

COURSE_REF

public static final NmeaReader.GPVTG COURSE_REF

COURSE_M

public static final NmeaReader.GPVTG COURSE_M

COURSE_M_REF

public static final NmeaReader.GPVTG COURSE_M_REF

SPEED_KN

public static final NmeaReader.GPVTG SPEED_KN

SPEED_KN_UNIT

public static final NmeaReader.GPVTG SPEED_KN_UNIT

SPEED_KMH

public static final NmeaReader.GPVTG SPEED_KMH

SPEED_KMH_UNIT

public static final NmeaReader.GPVTG SPEED_KMH_UNIT

REST

public static final NmeaReader.GPVTG REST
Field Detail

position

public final int position
Method Detail

values

public static NmeaReader.GPVTG[] 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.GPVTG c : NmeaReader.GPVTG.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.GPVTG 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
java.lang.NullPointerException - if the argument is null


JOSM