Enum FSAFlags
- All Implemented Interfaces:
Serializable, Comparable<FSAFlags>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDaciuk: flexible FSA encoding.Daciuk: next bit in use.The FSA contains right-language count numbers on states.The FSA supports legacy built-in separator and filler characters (Daciuk's FSA package compatibility).Daciuk: stop bit in use.Daciuk: tails compression. -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
FLEXIBLE
Daciuk: flexible FSA encoding. -
STOPBIT
Daciuk: stop bit in use. -
NEXTBIT
Daciuk: next bit in use. -
TAILS
Daciuk: tails compression. -
NUMBERS
The FSA contains right-language count numbers on states.- See Also:
-
SEPARATORS
The FSA supports legacy built-in separator and filler characters (Daciuk's FSA package compatibility).
-
-
Field Details
-
bits
public final int bitsBit mask for the corresponding flag.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isSet
public boolean isSet(int flags) - Parameters:
flags- The bitset with flags.- Returns:
- Returns
trueiff this flag is set inflags.
-
asShort
-