public static enum SmartList.SearchType extends Enum<SmartList.SearchType>
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns description of the search type.
|
static SmartList.SearchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmartList.SearchType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final SmartList.SearchType ADVANCED
public static final SmartList.SearchType SIMPLE
public static SmartList.SearchType[] values()
for (SmartList.SearchType c : SmartList.SearchType.values()) System.out.println(c);
public static SmartList.SearchType 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 String getDescription()