public static enum NearString.SORT_KEY extends java.lang.Enum<NearString.SORT_KEY>
Enum Constant and Description |
---|
ADJUSTED_SCORE |
SCORE |
SCORE_NO_STEM |
Modifier and Type | Method and Description |
---|---|
static NearString.SORT_KEY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NearString.SORT_KEY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearString.SORT_KEY SCORE
public static final NearString.SORT_KEY SCORE_NO_STEM
public static final NearString.SORT_KEY ADJUSTED_SCORE
public static NearString.SORT_KEY[] values()
for (NearString.SORT_KEY c : NearString.SORT_KEY.values()) System.out.println(c);
public static NearString.SORT_KEY 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 null