public enum RoadSlope extends java.lang.Enum<RoadSlope> implements CopertField
Enum Constant and Description |
---|
_0 |
MINUS_2 |
MINUS_4 |
MINUS_6 |
NONE |
PLUS_2 |
PLUS_4 |
PLUS_6 |
RANDOM |
Modifier and Type | Method and Description |
---|---|
static RoadSlope |
getValue(java.lang.String string) |
java.lang.String |
matcher()
Name of the field used to read the Copert tree.
|
static RoadSlope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoadSlope[] |
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 RoadSlope PLUS_6
public static final RoadSlope PLUS_4
public static final RoadSlope PLUS_2
public static final RoadSlope _0
public static final RoadSlope MINUS_2
public static final RoadSlope MINUS_4
public static final RoadSlope MINUS_6
public static final RoadSlope NONE
public static final RoadSlope RANDOM
public static RoadSlope[] values()
for (RoadSlope c : RoadSlope.values()) System.out.println(c);
public static RoadSlope 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 RoadSlope getValue(java.lang.String string)