public enum NGramState extends java.lang.Enum<NGramState>
Enum Constant and Description |
---|
BLANK
Search object has been initialized but not started.
|
CANCELLED
Search got cancelled either by user decision or by
errors.
|
FINISHED
Search performed without interruptions.
|
RUNNING
Search has been started.
|
Modifier and Type | Method and Description |
---|---|
static NGramState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NGramState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NGramState BLANK
public static final NGramState RUNNING
public static final NGramState FINISHED
public static final NGramState CANCELLED
public static NGramState[] values()
for (NGramState c : NGramState.values()) System.out.println(c);
public static NGramState 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 namejava.lang.NullPointerException
- if the argument is null