public static enum OrderDefinition.Direction extends java.lang.Enum<OrderDefinition.Direction>
Enum Constant and Description |
---|
ASCENDING |
DESCENDING |
Modifier and Type | Method and Description |
---|---|
abstract OrderDefinition.Direction |
reverse() |
java.lang.String |
toString() |
static OrderDefinition.Direction |
valueOf(java.lang.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(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 nullpublic abstract OrderDefinition.Direction reverse()
public java.lang.String toString()
toString
in class java.lang.Enum<OrderDefinition.Direction>