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