public enum StandardSortBy extends Enum<StandardSortBy> implements SortBy
| Enum Constant and Description |
|---|
CREATED_ON |
FIVESTAR |
LAST_EDIT_ON |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
static StandardSortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardSortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardSortBy LAST_EDIT_ON
public static final StandardSortBy CREATED_ON
public static final StandardSortBy FIVESTAR
public static StandardSortBy[] values()
for (StandardSortBy c : StandardSortBy.values()) System.out.println(c);
public static StandardSortBy 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 © 2014. All Rights Reserved.