public static enum Folder.SortOrder extends Enum<Folder.SortOrder>
Enum Constant and Description |
---|
DOWN
lowest to highest
|
UP
reverse sort, highest to lowest
|
Modifier and Type | Method and Description |
---|---|
static Folder.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Folder.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Folder.SortOrder DOWN
public static final Folder.SortOrder UP
public static Folder.SortOrder[] values()
for (Folder.SortOrder c : Folder.SortOrder.values()) System.out.println(c);
public static Folder.SortOrder 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 null