Package org.matsim.vis.snapshotwriters
Enum AgentSnapshotInfo.AgentState
- java.lang.Object
-
- java.lang.Enum<AgentSnapshotInfo.AgentState>
-
- org.matsim.vis.snapshotwriters.AgentSnapshotInfo.AgentState
-
- All Implemented Interfaces:
Serializable
,Comparable<AgentSnapshotInfo.AgentState>
- Enclosing interface:
- AgentSnapshotInfo
public static enum AgentSnapshotInfo.AgentState extends Enum<AgentSnapshotInfo.AgentState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MARKER
PERSON_AT_ACTIVITY
PERSON_DRIVING_CAR
PERSON_OTHER_MODE
TRANSIT_DRIVER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AgentSnapshotInfo.AgentState
valueOf(String name)
Returns the enum constant of this type with the specified name.static AgentSnapshotInfo.AgentState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERSON_AT_ACTIVITY
public static final AgentSnapshotInfo.AgentState PERSON_AT_ACTIVITY
-
PERSON_DRIVING_CAR
public static final AgentSnapshotInfo.AgentState PERSON_DRIVING_CAR
-
PERSON_OTHER_MODE
public static final AgentSnapshotInfo.AgentState PERSON_OTHER_MODE
-
TRANSIT_DRIVER
public static final AgentSnapshotInfo.AgentState TRANSIT_DRIVER
-
MARKER
public static final AgentSnapshotInfo.AgentState MARKER
-
-
Method Detail
-
values
public static AgentSnapshotInfo.AgentState[] 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 (AgentSnapshotInfo.AgentState c : AgentSnapshotInfo.AgentState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentSnapshotInfo.AgentState 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
-
-