Enum PrintFlags
- java.lang.Object
 - 
- java.lang.Enum<PrintFlags>
 - 
- org.opentrafficsim.trafficcontrol.trafcod.PrintFlags
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparable<PrintFlags>
enum PrintFlags extends Enum<PrintFlags>
Flags for toString method of a Variable. 
- 
- 
Enum Constant Summary
Enum Constants Enum Constant Description EPrint value as "1" if just reset, else print "0".FLAGSPrint the flags of the Variable.IDThe name and stream of the Variable.INITTIMERPrint "I" before the name (indicates that a timer is initialized).MODIFY_TIMEPrint the time of last modification of the Variable.NEGATEDPrint the negated Variable.REINITTIMERPrint "RI" before the name (indicates that a timer is re-initialized).SPrint value as "1" if just set, else print "0".VALUEThe value of the Variable. 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrintFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static PrintFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared. 
 - 
 
- 
- 
Enum Constant Detail
- 
ID
public static final PrintFlags ID
The name and stream of the Variable. 
- 
VALUE
public static final PrintFlags VALUE
The value of the Variable. 
- 
INITTIMER
public static final PrintFlags INITTIMER
Print "I" before the name (indicates that a timer is initialized). 
- 
REINITTIMER
public static final PrintFlags REINITTIMER
Print "RI" before the name (indicates that a timer is re-initialized). 
- 
S
public static final PrintFlags S
Print value as "1" if just set, else print "0". 
- 
E
public static final PrintFlags E
Print value as "1" if just reset, else print "0". 
- 
NEGATED
public static final PrintFlags NEGATED
Print the negated Variable. 
- 
FLAGS
public static final PrintFlags FLAGS
Print the flags of the Variable. 
- 
MODIFY_TIME
public static final PrintFlags MODIFY_TIME
Print the time of last modification of the Variable. 
 - 
 
- 
Method Detail
- 
values
public static PrintFlags[] 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 (PrintFlags c : PrintFlags.values()) System.out.println(c);
- Returns:
 - an array containing the constants of this enum type, in the order they are declared
 
 
- 
valueOf
public static PrintFlags 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
 
 - 
 
 -