public static enum SearchOptions.Sort extends Enum<SearchOptions.Sort>
| Enum Constant and Description |
|---|
LATEST |
MOSTDOWNLOADED |
MOSTVIEWED |
RELEVANCE |
| Modifier and Type | Method and Description |
|---|---|
static SearchOptions.Sort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchOptions.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchOptions.Sort RELEVANCE
public static final SearchOptions.Sort MOSTVIEWED
public static final SearchOptions.Sort MOSTDOWNLOADED
public static final SearchOptions.Sort LATEST
public static SearchOptions.Sort[] values()
for (SearchOptions.Sort c : SearchOptions.Sort.values()) System.out.println(c);
public static SearchOptions.Sort 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 © 2015. All rights reserved.