public static enum ListOptions.SortOrder extends Enum<ListOptions.SortOrder>
Enum Constant and Description |
---|
ASC
Sort ascending.
|
DESC
Sort descending.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrderValue() |
static ListOptions.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListOptions.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListOptions.SortOrder ASC
public static final ListOptions.SortOrder DESC
public static ListOptions.SortOrder[] values()
for (ListOptions.SortOrder c : ListOptions.SortOrder.values()) System.out.println(c);
public static ListOptions.SortOrder 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 int getOrderValue()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.