|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LexStatus> LexStatus
public enum LexStatus
Enum values for querying a lexicon and determining if a string is a word, is a prefix of a word, or is not a word (and not a prefix of a word).
If PREFIX is returned, then the string is not a word, but is the prefix of at least one word in the lexicon.
If WORD is returned, then the string is a word in the dictionary (it could be a prefix too, e.g., MOM is a word, but is a prefix of MOMENT).
If NOT_WORD is returned, the string is not a word, and it's not the prefix of any word in the lexicon.
Enum Constant Summary | |
---|---|
NOT_WORD
|
|
PREFIX
|
|
WORD
|
Method Summary | |
---|---|
static LexStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LexStatus[] |
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 LexStatus WORD
public static final LexStatus PREFIX
public static final LexStatus NOT_WORD
Method Detail |
---|
public static LexStatus[] values()
for (LexStatus c : LexStatus.values()) System.out.println(c);
public static LexStatus 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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |