Enum Class PrintFlags
- All Implemented Interfaces:
Serializable
,Comparable<PrintFlags>
,Constable
Flags for toString method of a Variable.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPrint value as "1" if just reset, else print "0".Print the flags of the Variable.The name and stream of the Variable.Print "I" before the name (indicates that a timer is initialized).Print the time of last modification of the Variable.Print the negated Variable.Print "RI" before the name (indicates that a timer is re-initialized).Print value as "1" if just set, else print "0".The value of the Variable. -
Method Summary
Modifier and TypeMethodDescriptionstatic PrintFlags
Returns the enum constant of this class with the specified name.static PrintFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ID
The name and stream of the Variable. -
VALUE
The value of the Variable. -
INITTIMER
Print "I" before the name (indicates that a timer is initialized). -
REINITTIMER
Print "RI" before the name (indicates that a timer is re-initialized). -
S
Print value as "1" if just set, else print "0". -
E
Print value as "1" if just reset, else print "0". -
NEGATED
Print the negated Variable. -
FLAGS
Print the flags of the Variable. -
MODIFY_TIME
Print the time of last modification of the Variable.
-
-
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
-