public static enum SearchQueryToken.Token extends Enum<SearchQueryToken.Token>
| Enum Constant and Description |
|---|
AND |
CLOSE |
NOT |
OPEN |
OR |
PHRASE |
WORD |
| Modifier and Type | Method and Description |
|---|---|
static SearchQueryToken.Token |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchQueryToken.Token[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchQueryToken.Token OPEN
public static final SearchQueryToken.Token NOT
public static final SearchQueryToken.Token AND
public static final SearchQueryToken.Token OR
public static final SearchQueryToken.Token WORD
public static final SearchQueryToken.Token PHRASE
public static final SearchQueryToken.Token CLOSE
public static SearchQueryToken.Token[] values()
for (SearchQueryToken.Token c : SearchQueryToken.Token.values()) System.out.println(c);
public static SearchQueryToken.Token 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 nullCopyright © 2023. All rights reserved.