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