public static enum Search.Order extends Enum<Search.Order>
Enum Constant and Description |
---|
ASC
Sorting ascending.
|
DESC
Sorting descending.
|
Modifier and Type | Method and Description |
---|---|
String |
getOrder()
Get sort order.
|
static Search.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Search.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Search.Order ASC
public static final Search.Order DESC
public static Search.Order[] values()
for (Search.Order c : Search.Order.values()) System.out.println(c);
public static Search.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 nullpublic String getOrder()
Copyright © 2012–2014 jcabi.com. All rights reserved.