Enum LaneType.DEFAULTS
- java.lang.Object
-
- java.lang.Enum<LaneType.DEFAULTS>
-
- org.opentrafficsim.road.network.lane.LaneType.DEFAULTS
-
- All Implemented Interfaces:
Serializable
,Comparable<LaneType.DEFAULTS>
- Enclosing class:
- LaneType
public static enum LaneType.DEFAULTS extends Enum<LaneType.DEFAULTS>
Default types with their name.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BICYCLE_PATH
Bicycle path (Dutch: fietspad).BUS_LANE
Bidirectional bus lane (Dutch: busstrook).FOOTPATH
Bidirectional footpath (Dutch: voetpad).FREEWAY
Controlled access roads (Dutch: snelweg).HIGHWAY
High speed vehicular roads (Dutch: autoweg).MOPED_PATH
Bidirectional bicycle lane (Dutch: (brom)fietspad).NONE
The lane type used for lanes that are forbidden to all GTU types.ONE_WAY_LANE
Vehicular lane that is two-way for PEDESTRIANS but only permitted in design direction for all other road users.RESIDENTIAL_ROAD_LANE
Residential vehicular roads (Dutch: woonerf).RURAL_ROAD_LANE
Lane on rural vehicular roads (Dutch: weg buiten bebouwde kom).TWO_WAY_LANE
Vehicular roads (Dutch: weg); allows all road vehicles and pedestrians.URBAN_ROAD_LANE
Lane on urban vehicular roads (Dutch: weg binnen bebouwde kom).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
static LaneType.DEFAULTS
valueOf(String name)
Returns the enum constant of this type with the specified name.static LaneType.DEFAULTS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final LaneType.DEFAULTS NONE
The lane type used for lanes that are forbidden to all GTU types.
-
TWO_WAY_LANE
public static final LaneType.DEFAULTS TWO_WAY_LANE
Vehicular roads (Dutch: weg); allows all road vehicles and pedestrians.
-
ONE_WAY_LANE
public static final LaneType.DEFAULTS ONE_WAY_LANE
Vehicular lane that is two-way for PEDESTRIANS but only permitted in design direction for all other road users.
-
FREEWAY
public static final LaneType.DEFAULTS FREEWAY
Controlled access roads (Dutch: snelweg).
-
HIGHWAY
public static final LaneType.DEFAULTS HIGHWAY
High speed vehicular roads (Dutch: autoweg).
-
RURAL_ROAD_LANE
public static final LaneType.DEFAULTS RURAL_ROAD_LANE
Lane on rural vehicular roads (Dutch: weg buiten bebouwde kom).
-
URBAN_ROAD_LANE
public static final LaneType.DEFAULTS URBAN_ROAD_LANE
Lane on urban vehicular roads (Dutch: weg binnen bebouwde kom).
-
RESIDENTIAL_ROAD_LANE
public static final LaneType.DEFAULTS RESIDENTIAL_ROAD_LANE
Residential vehicular roads (Dutch: woonerf).
-
BUS_LANE
public static final LaneType.DEFAULTS BUS_LANE
Bidirectional bus lane (Dutch: busstrook).
-
MOPED_PATH
public static final LaneType.DEFAULTS MOPED_PATH
Bidirectional bicycle lane (Dutch: (brom)fietspad).
-
BICYCLE_PATH
public static final LaneType.DEFAULTS BICYCLE_PATH
Bicycle path (Dutch: fietspad).
-
FOOTPATH
public static final LaneType.DEFAULTS FOOTPATH
Bidirectional footpath (Dutch: voetpad).
-
-
Method Detail
-
values
public static LaneType.DEFAULTS[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LaneType.DEFAULTS c : LaneType.DEFAULTS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LaneType.DEFAULTS valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public String getId()
- Returns:
- the id
-
-