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