public static enum CollectionArgs.SortMode extends java.lang.Enum<CollectionArgs.SortMode>
Enum Constant and Description |
---|
ALPHA
Collate alphabetically.
|
ALPHA_CASE
Collate alphabetically, case-sensitive.
|
AUTO
If all values of the field are numbers, collate numerically.
|
NUM
Collate numerically.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static CollectionArgs.SortMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectionArgs.SortMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionArgs.SortMode AUTO
public static final CollectionArgs.SortMode ALPHA
public static final CollectionArgs.SortMode ALPHA_CASE
public static final CollectionArgs.SortMode NUM
public static CollectionArgs.SortMode[] values()
for (CollectionArgs.SortMode c : CollectionArgs.SortMode.values()) System.out.println(c);
public static CollectionArgs.SortMode 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 toString()
toString
in class java.lang.Enum<CollectionArgs.SortMode>