public enum TermCountsOrder extends Enum<TermCountsOrder>
Enum Constant and Description |
---|
COUNT_ASC
Ascending order by the count of terms
|
COUNT_DESC
Descending order by the count of terms
|
NAME_ASC
Ascending order by the field name
|
NAME_DESC
Descending order by the field name
|
Modifier and Type | Method and Description |
---|---|
static TermCountsOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TermCountsOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TermCountsOrder NAME_ASC
public static final TermCountsOrder NAME_DESC
public static final TermCountsOrder COUNT_ASC
public static final TermCountsOrder COUNT_DESC
public static TermCountsOrder[] values()
for (TermCountsOrder c : TermCountsOrder.values()) System.out.println(c);
public static TermCountsOrder 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-2021 Apache Software Foundation. All Rights Reserved.