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