public static enum Constants.RoadCrossing extends Enum<Constants.RoadCrossing>
| Enum Constant and Description |
|---|
CROSSING
generic crossing, no detailed information
|
NO
not a crossing
|
TRAFFIC_SIGNALS
controlled with traffic signals and most probably marked
|
UNCONTROLLED
marked (e.g.
|
UNMARKED
neither marked nor controlled via traffic signals, but it is possible
to cross the road here
|
| Modifier and Type | Method and Description |
|---|---|
static Constants.RoadCrossing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RoadCrossing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RoadCrossing NO
public static final Constants.RoadCrossing CROSSING
public static final Constants.RoadCrossing UNMARKED
public static final Constants.RoadCrossing UNCONTROLLED
public static final Constants.RoadCrossing TRAFFIC_SIGNALS
public static Constants.RoadCrossing[] values()
for (Constants.RoadCrossing c : Constants.RoadCrossing.values()) System.out.println(c);
public static Constants.RoadCrossing valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.