public static enum SortedSetSortField.Selector extends Enum<SortedSetSortField.Selector>
Enum Constant and Description |
---|
MAX
Selects the maximum value in the set
|
MIDDLE_MAX
Selects the middle value in the set.
|
MIDDLE_MIN
Selects the middle value in the set.
|
MIN
Selects the minimum value in the set
|
Modifier and Type | Method and Description |
---|---|
static SortedSetSortField.Selector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortedSetSortField.Selector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortedSetSortField.Selector MIN
public static final SortedSetSortField.Selector MAX
public static final SortedSetSortField.Selector MIDDLE_MIN
If the set has an even number of values, the lower of the middle two is chosen.
public static final SortedSetSortField.Selector MIDDLE_MAX
If the set has an even number of values, the higher of the middle two is chosen
public static SortedSetSortField.Selector[] values()
for (SortedSetSortField.Selector c : SortedSetSortField.Selector.values()) System.out.println(c);
public static SortedSetSortField.Selector 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 © 2000-2014 Apache Software Foundation. All Rights Reserved.