public static enum Query.SortOrder extends Enum<Query.SortOrder>
Enum Constant and Description |
---|
ASCENDING |
DESCENDING |
Modifier and Type | Method and Description |
---|---|
static Query.SortOrder |
get(boolean ascending) |
static Query.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.SortOrder ASCENDING
public static final Query.SortOrder DESCENDING
public static Query.SortOrder[] values()
for (Query.SortOrder c : Query.SortOrder.values()) System.out.println(c);
public static Query.SortOrder 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 nullpublic static Query.SortOrder get(boolean ascending)
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.