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