public static enum SortElement.Order extends Enum<SortElement.Order>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SortElement.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortElement.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortElement.Order ASC
public static final SortElement.Order DESC
public static SortElement.Order[] values()
for (SortElement.Order c : SortElement.Order.values()) System.out.println(c);
public static SortElement.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 nullpublic String toString()
toString
in class Enum<SortElement.Order>