Enum Constant and Description |
---|
ALPHA
Lexicographically (in ascending order).
|
COUNT
By count (in descending order).
|
MINUS_ALPHA
Lexicographically in descending order.
|
MINUS_COUNT
By count in descending order.
|
PLUS_ALPHA
Lexicographically in ascending order.
|
PLUS_COUNT
By count in ascending order.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSort() |
static Word.Sort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Word.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Word.Sort ALPHA
public static final Word.Sort PLUS_ALPHA
public static final Word.Sort MINUS_ALPHA
public static final Word.Sort COUNT
public static final Word.Sort PLUS_COUNT
public static final Word.Sort MINUS_COUNT
public static Word.Sort[] values()
for (Word.Sort c : Word.Sort.values()) System.out.println(c);
public static Word.Sort 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 getSort()