Enum Constant and Description |
---|
ASC
Ascending order
|
DESC
Descending order
|
Modifier and Type | Method and Description |
---|---|
static OrderBy |
fromInt(int intRepresentation)
Gets the order from the given integer representation.
|
int |
getIntRepresentation()
The integer representation of the order.
|
static OrderBy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderBy ASC
public static final OrderBy DESC
public static OrderBy[] values()
for (OrderBy c : OrderBy.values()) System.out.println(c);
public static OrderBy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntRepresentation()
public static OrderBy fromInt(int intRepresentation)
intRepresentation
- the integer representationCopyright © 2010 - 2020 Adobe. All Rights Reserved