public static enum List.QueryOrder extends java.lang.Enum<List.QueryOrder>
| Enum Constant and Description |
|---|
ASCENDING
Sort query results in ascending order.
|
DESCENDING
Sort query results in descending order.
|
| Modifier and Type | Method and Description |
|---|---|
static List.QueryOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static List.QueryOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final List.QueryOrder ASCENDING
public static final List.QueryOrder DESCENDING
public static List.QueryOrder[] values()
for (List.QueryOrder c : List.QueryOrder.values()) System.out.println(c);
public static List.QueryOrder 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