Package core
Enum ScenarioElementType
- java.lang.Object
-
- java.lang.Enum<ScenarioElementType>
-
- core.ScenarioElementType
-
- All Implemented Interfaces:
Serializable
,Comparable<ScenarioElementType>
public enum ScenarioElementType extends Enum<ScenarioElementType>
anything with an id, and lanegroups
-
-
Enum Constant Summary
Enum Constants Enum Constant Description actuator
commodity
controller
lanegroups
link
node
roadconnection
roadgeom
sensor
subnetwork
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScenarioElementType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScenarioElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
commodity
public static final ScenarioElementType commodity
-
subnetwork
public static final ScenarioElementType subnetwork
-
node
public static final ScenarioElementType node
-
link
public static final ScenarioElementType link
-
roadgeom
public static final ScenarioElementType roadgeom
-
roadconnection
public static final ScenarioElementType roadconnection
-
controller
public static final ScenarioElementType controller
-
actuator
public static final ScenarioElementType actuator
-
lanegroups
public static final ScenarioElementType lanegroups
-
sensor
public static final ScenarioElementType sensor
-
-
Method Detail
-
values
public static ScenarioElementType[] 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 (ScenarioElementType c : ScenarioElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScenarioElementType 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
-
-