| Enum Constant and Description |
|---|
ASCENDING
Enumeration value indicating the items are sorted in increasing order.
|
DESCENDING
Enumeration value indicating the items are sorted in decreasing order.
|
UNSORTED
Enumeration value indicating the items are unordered.
|
| Modifier and Type | Method and Description |
|---|---|
static SortState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SortState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortState ASCENDING
1, 4, 0 sorted in
ASCENDING order is 0, 1, 4.public static final SortState DESCENDING
1, 4, 0 sorted in
DESCENDING order is 4, 1, 0.public static final SortState UNSORTED
1, 4, 0 in
UNSORTED order is 1, 4, 0.public static SortState[] values()
for (SortState c : SortState.values()) System.out.println(c);
public static SortState 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