@Generated public enum SortBy extends Enum<SortBy>
| Enum Constant and Description |
|---|
SORT_BY_DATE |
SORT_BY_RELEVANCE |
SORT_BY_TITLE |
SORT_BY_UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortBy SORT_BY_DATE
public static final SortBy SORT_BY_RELEVANCE
public static final SortBy SORT_BY_TITLE
public static final SortBy SORT_BY_UNSPECIFIED
public static SortBy[] values()
for (SortBy c : SortBy.values()) System.out.println(c);
public static SortBy 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 © 2024. All rights reserved.