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