public static enum Sorting.Order extends Enum<Sorting.Order>
Enum Constant and Description |
---|
ASCENDING |
DESCENDING |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static Sorting.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sorting.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sorting.Order ASCENDING
public static final Sorting.Order DESCENDING
public static final Sorting.Order UNDEFINED
public static Sorting.Order[] values()
for (Sorting.Order c : Sorting.Order.values()) System.out.println(c);
public static Sorting.Order 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 nullCopyright © 2018. All rights reserved.