public static enum NMEAParameters.NmeaSources extends java.lang.Enum<NMEAParameters.NmeaSources>
Modifier and Type | Field and Description |
---|---|
int |
serialValue |
int |
simulatedValue |
int |
udpValue |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final NMEAParameters.NmeaSources SERIAL
public static final NMEAParameters.NmeaSources UDP
public static final NMEAParameters.NmeaSources SIMULATED
public final int serialValue
public final int udpValue
public final int simulatedValue
public static NMEAParameters.NmeaSources[] values()
for (NMEAParameters.NmeaSources c : NMEAParameters.NmeaSources.values()) System.out.println(c);
public static NMEAParameters.NmeaSources valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()