public enum Mode extends java.lang.Enum<Mode> implements CopertField
Enum Constant and Description |
---|
HIGHWAY |
NONE |
RANDOM |
RURAL |
URBAN_OFF_PEAK |
URBAN_PEAK |
Modifier and Type | Method and Description |
---|---|
static Mode |
getValue(java.lang.String string) |
java.lang.String |
matcher()
Name of the field used to read the Copert tree.
|
static Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getValue, randomSelector, valueOf
public static final Mode URBAN_PEAK
public static final Mode URBAN_OFF_PEAK
public static final Mode RURAL
public static final Mode HIGHWAY
public static final Mode NONE
public static final Mode RANDOM
public static Mode[] values()
for (Mode c : Mode.values()) System.out.println(c);
public static Mode 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 java.lang.String matcher()
CopertField
matcher
in interface CopertField
public static Mode getValue(java.lang.String string)