public static enum Sorting.Direction extends java.lang.Enum<Sorting.Direction>
Enum Constant and Description |
---|
ASCENDING
Sort ascending
|
DESCENDING
Sort descending
|
Modifier and Type | Method and Description |
---|---|
static Sorting.Direction |
fromStringRepresentation(java.lang.String strRep)
Returns the corresponding
Direction value for the specified
string representation. |
java.lang.String |
getStringRepresentation()
Gets the string representation of the direction.
|
static Sorting.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sorting.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sorting.Direction ASCENDING
public static final Sorting.Direction DESCENDING
public static Sorting.Direction[] values()
for (Sorting.Direction c : Sorting.Direction.values()) System.out.println(c);
public static Sorting.Direction 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 java.lang.String getStringRepresentation()
public static Sorting.Direction fromStringRepresentation(java.lang.String strRep)
Returns the corresponding Direction
value for the specified
string representation.
strRep
- The string representationDirection
value; null
if an
invalid string representation was provided"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"