| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<FSAFlags>
morfologik.fsa.FSAFlags
public enum FSAFlags
FSA automaton flags. Where applicable, flags follow Daciuk's fsa package.
| Enum Constant Summary | |
|---|---|
| FLEXIBLEDaciuk: flexible FSA encoding. | |
| NEXTBITDaciuk: next bit in use. | |
| NUMBERSThe FSA contains right-language count numbers on states. | |
| SEPARATORSThe FSA supports legacy built-in separator and filler characters (Daciuk's FSA package compatibility). | |
| STOPBITDaciuk: stop bit in use. | |
| TAILSDaciuk: tails compression. | |
| Field Summary | |
|---|---|
|  int | bitsBit mask for the corresponding flag. | 
| Method Summary | |
|---|---|
| static short | asShort(java.util.Set<FSAFlags> flags)Returns the set of flags encoded in a single short. | 
| static boolean | isSet(int flags,
      FSAFlags flag)Returns trueif the corresponding flag is set in the bit set. | 
| static FSAFlags | valueOf(java.lang.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. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
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
| Field Detail | 
|---|
public final int bits
| Method Detail | 
|---|
public static FSAFlags[] values()
for (FSAFlags c : FSAFlags.values()) System.out.println(c);
public static FSAFlags valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public static boolean isSet(int flags,
                            FSAFlags flag)
true if the corresponding flag is set in the bit set.
public static short asShort(java.util.Set<FSAFlags> flags)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||