NMEA
Enum NMEAParameters.NmeaSources

java.lang.Object
  extended by java.lang.Enum<NMEAParameters.NmeaSources>
      extended by NMEA.NMEAParameters.NmeaSources
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NMEAParameters.NmeaSources>
Enclosing class:
NMEAParameters

public static enum NMEAParameters.NmeaSources
extends java.lang.Enum<NMEAParameters.NmeaSources>


Enum Constant Summary
SERIAL
           
SIMULATED
           
UDP
           
 
Field Summary
 int serialValue
           
 int simulatedValue
           
 int udpValue
           
private  int value
           
 
Method Summary
 int value()
           
static NMEAParameters.NmeaSources valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NMEAParameters.NmeaSources[] 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

SERIAL

public static final NMEAParameters.NmeaSources SERIAL

UDP

public static final NMEAParameters.NmeaSources UDP

SIMULATED

public static final NMEAParameters.NmeaSources SIMULATED
Field Detail

value

private final int value

serialValue

public final int serialValue
See Also:
Constant Field Values

udpValue

public final int udpValue
See Also:
Constant Field Values

simulatedValue

public final int simulatedValue
See Also:
Constant Field Values
Method Detail

values

public static NMEAParameters.NmeaSources[] 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 (NMEAParameters.NmeaSources c : NMEAParameters.NmeaSources.values())
    System.out.println(c);

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

valueOf

public static NMEAParameters.NmeaSources 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

value

public int value()