public enum FSAFlags extends Enum<FSAFlags>
fsa
package.Enum Constant and Description |
---|
FLEXIBLE
Daciuk: flexible FSA encoding.
|
NEXTBIT
Daciuk: next bit in use.
|
NUMBERS
The FSA contains right-language count numbers on states.
|
SEPARATORS
The FSA supports legacy built-in separator and filler characters (Daciuk's
FSA package compatibility).
|
STOPBIT
Daciuk: stop bit in use.
|
TAILS
Daciuk: tails compression.
|
Modifier and Type | Field and Description |
---|---|
int |
bits
Bit mask for the corresponding flag.
|
Modifier and Type | Method and Description |
---|---|
static short |
asShort(Set<FSAFlags> flags) |
boolean |
isSet(int flags) |
static FSAFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FSAFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSAFlags FLEXIBLE
public static final FSAFlags STOPBIT
public static final FSAFlags NEXTBIT
public static final FSAFlags TAILS
public static final FSAFlags NUMBERS
FSA.getRightLanguageCount(int)
public static final FSAFlags SEPARATORS
public static FSAFlags[] values()
for (FSAFlags c : FSAFlags.values()) System.out.println(c);
public static FSAFlags valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isSet(int flags)
flags
- The bitset with flags.true
iff this flag is set in flags
.Copyright © 2016. All rights reserved.