public static enum AutoSuggest.Type extends java.lang.Enum<AutoSuggest.Type>
AutoSuggest
types for a text suggestion.Enum Constant and Description |
---|
PLACE
Suggested Place.
|
QUERY
Suggested query
|
SEARCH
Suggested Search.
|
UNKNOWN
Unknown type.
|
Modifier and Type | Method and Description |
---|---|
static AutoSuggest.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutoSuggest.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoSuggest.Type UNKNOWN
public static final AutoSuggest.Type PLACE
AutoSuggestPlace
public static final AutoSuggest.Type SEARCH
AutoSuggestSearch
public static final AutoSuggest.Type QUERY
AutoSuggestQuery
public static AutoSuggest.Type[] values()
for (AutoSuggest.Type c : AutoSuggest.Type.values()) System.out.println(c);
public static AutoSuggest.Type 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