public static enum Query.RemoveWordsIfNoResults extends Enum<Query.RemoveWordsIfNoResults>
Enum Constant and Description |
---|
ALL_OPTIONAL |
FIRST_WORDS |
LAST_WORDS |
NONE |
Modifier and Type | Method and Description |
---|---|
static Query.RemoveWordsIfNoResults |
fromString(String string) |
static Query.RemoveWordsIfNoResults |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.RemoveWordsIfNoResults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.RemoveWordsIfNoResults LAST_WORDS
public static final Query.RemoveWordsIfNoResults FIRST_WORDS
public static final Query.RemoveWordsIfNoResults ALL_OPTIONAL
public static final Query.RemoveWordsIfNoResults NONE
public static Query.RemoveWordsIfNoResults[] values()
for (Query.RemoveWordsIfNoResults c : Query.RemoveWordsIfNoResults.values()) System.out.println(c);
public static Query.RemoveWordsIfNoResults 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 static Query.RemoveWordsIfNoResults fromString(String string)