public static enum FacetRequest.SortBy extends Enum<FacetRequest.SortBy>
Enum Constant and Description |
---|
ORDINAL
sort by category ordinal with the taxonomy
|
VALUE
sort by computed category value
|
Modifier and Type | Method and Description |
---|---|
static FacetRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FacetRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacetRequest.SortBy ORDINAL
public static final FacetRequest.SortBy VALUE
public static FacetRequest.SortBy[] values()
for (FacetRequest.SortBy c : FacetRequest.SortBy.values()) System.out.println(c);
public static FacetRequest.SortBy 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 null