Class Overview
An enumeration the defines the possible ordering for a Sort.
Summary
Enum Values |
SortOrder |
ASC |
The ascending order. |
SortOrder |
DESC |
The descending order. |
[Expand]
Inherited Methods |
From class
java.lang.Enum
final
Object
|
clone()
|
final
int
|
compareTo(E arg0)
|
int
|
compareTo(Object arg0)
|
final
boolean
|
equals(Object arg0)
|
final
void
|
finalize()
|
final
Class<E>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
valueOf(Class<T> arg0, String arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
java.lang.Comparable
|
Enum Values
Public Methods
public
static
SortOrder
parseString
(String value)
Find the SortOrder represented in the passed string. The matching is based on the names of the value in the
enumeration. All matching is done in a case insensitive manner. The order ASC
will be returned if
no match is found.
Parameters
value
| the string to parse. |