Enum Class Flags
- All Implemented Interfaces:
Serializable
,Comparable<Flags>
,Constable
Flags of a TrafCOD variable.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionVariable has just changed value.Variable identifies the currently active conflict group.Variable becomes inactive.Variable has an end rule.Variable has a start rule.Variable must be initialized to 1 at start of control program.Variable is a detector.Variable is an output.Variable is a timer.Variable becomes active.Timer has just expired.Variable is traced; all changes must be printed. -
Method Summary
-
Enum Constant Details
-
START
Variable becomes active. -
END
Variable becomes inactive. -
TIMEREXPIRED
Timer has just expired. -
CHANGED
Variable has just changed value. -
IS_TIMER
Variable is a timer. -
IS_DETECTOR
Variable is a detector. -
HAS_START_RULE
Variable has a start rule. -
HAS_END_RULE
Variable has an end rule. -
IS_OUTPUT
Variable is an output. -
INITED
Variable must be initialized to 1 at start of control program. -
TRACED
Variable is traced; all changes must be printed. -
CONFLICT_GROUP
Variable identifies the currently active conflict group.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-