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