public static enum Index.Order extends java.lang.Enum<Index.Order>
| Enum Constant and Description |
|---|
ASCENDING |
DESCENDING |
| Modifier and Type | Method and Description |
|---|---|
static Index.Order |
fromInt(int i) |
static Index.Order |
fromString(java.lang.String name) |
int |
value() |
static Index.Order |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Index.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index.Order ASCENDING
public static final Index.Order DESCENDING
public static Index.Order[] values()
for (Index.Order c : Index.Order.values()) System.out.println(c);
public static Index.Order 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 int value()
public static Index.Order fromInt(int i)
public static Index.Order fromString(java.lang.String name)