public static enum Sort.Direction extends Enum<Sort.Direction>
| Enum Constant and Description |
|---|
Ascending
Sort in ascending order (the default).
|
Descending
Sort in descending order (opposite from the default).
|
| Modifier and Type | Method and Description |
|---|---|
static Sort.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sort.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sort.Direction Ascending
public static final Sort.Direction Descending
public static Sort.Direction[] values()
for (Sort.Direction c : Sort.Direction.values()) System.out.println(c);
public static Sort.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 © 2020 JBoss by Red Hat. All rights reserved.