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