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