public enum ResultSortOrder extends Enum<ResultSortOrder>
| Modifier and Type | Method and Description |
|---|---|
static ResultSortOrder |
parse(String result) |
String |
value() |
static ResultSortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultSortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultSortOrder ASC
public static final ResultSortOrder DESC
public static ResultSortOrder[] values()
for (ResultSortOrder c : ResultSortOrder.values()) System.out.println(c);
public static ResultSortOrder 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 static ResultSortOrder parse(String result)
public String value()
Copyright © 2019. All rights reserved.