| Enum Constant and Description |
|---|
ALPHABETICAL |
REVERSE |
| Modifier and Type | Method and Description |
|---|---|
static <T,C extends java.util.Collection<T>> |
applyAll(C collection,
Sorting... sorters) |
static Sorting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sorting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sorting ALPHABETICAL
public static final Sorting REVERSE
public static Sorting[] values()
for (Sorting c : Sorting.values()) System.out.println(c);
public static Sorting 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 static <T,C extends java.util.Collection<T>> C applyAll(C collection,
Sorting... sorters)