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