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