public static enum SortUtility.Mode extends Enum<SortUtility.Mode>
Enum Constant and Description |
---|
DUP_REMOVE
Removes duplicates for the sort items
|
DUP_REMOVE_SORT
Removes duplicates, but guarantees order based upon the sort elements.
|
SORT |
Modifier and Type | Method and Description |
---|---|
static SortUtility.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortUtility.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortUtility.Mode SORT
public static final SortUtility.Mode DUP_REMOVE
public static final SortUtility.Mode DUP_REMOVE_SORT
public static SortUtility.Mode[] values()
for (SortUtility.Mode c : SortUtility.Mode.values()) System.out.println(c);
public static SortUtility.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 JBoss by Red Hat. All rights reserved.