public static enum QuerySort.SortDirection extends Enum<QuerySort.SortDirection>
Enum Constant and Description |
---|
ASCENDING
Ascending (A-Z, 1..9) sort order
|
DESCENDING
Descending (Z-A, 9..1) sort order
|
Modifier and Type | Method and Description |
---|---|
abstract QuerySort.SortDirection |
getOpposite()
Direct opposite sort direction
|
static QuerySort.SortDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuerySort.SortDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuerySort.SortDirection ASCENDING
public static final QuerySort.SortDirection DESCENDING
public static QuerySort.SortDirection[] values()
for (QuerySort.SortDirection c : QuerySort.SortDirection.values()) System.out.println(c);
public static QuerySort.SortDirection 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 abstract QuerySort.SortDirection getOpposite()
Copyright © 2019 The Holon Platform. All rights reserved.