static enum Diagram.LaneType extends Enum<Diagram.LaneType>
| Enum Constant and Description |
|---|
BICYCLE_LANE
BICYCLE.
|
CAR_LANE
Car.
|
PEDESTRIAN_LANE
Pedestrian.
|
PUBLIC_TRANSIT_LANE
Public transit.
|
| Modifier and Type | Method and Description |
|---|---|
static Diagram.LaneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Diagram.LaneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Diagram.LaneType CAR_LANE
public static final Diagram.LaneType BICYCLE_LANE
public static final Diagram.LaneType PUBLIC_TRANSIT_LANE
public static final Diagram.LaneType PEDESTRIAN_LANE
public static Diagram.LaneType[] values()
for (Diagram.LaneType c : Diagram.LaneType.values()) System.out.println(c);
public static Diagram.LaneType 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 © 2014–2018 Delft University of Technology. All rights reserved.