public enum SortBehavior extends Enum<SortBehavior>
Enum Constant and Description |
---|
ORDERED
ordered results.
|
SORTED
sorted results.
|
UNORDERED
unordered results.
|
Modifier and Type | Field and Description |
---|---|
private static SortBehavior |
defaultSortBehavior
Default sort behavior.
|
private static Logger |
LOGGER
Logger for this class.
|
static String |
SORT_BEHAVIOR
Sort behavior name.
|
Modifier and Type | Method and Description |
---|---|
static SortBehavior |
getDefaultSortBehavior()
Returns the default sort behavior.
|
static SortBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortBehavior UNORDERED
public static final SortBehavior ORDERED
public static final SortBehavior SORTED
public static final String SORT_BEHAVIOR
private static final Logger LOGGER
private static SortBehavior defaultSortBehavior
public static SortBehavior[] values()
for (SortBehavior c : SortBehavior.values()) System.out.println(c);
public static SortBehavior 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 nullpublic static SortBehavior getDefaultSortBehavior()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.