public static enum SortDefinition.Direction extends Enum<SortDefinition.Direction>
| Modifier and Type | Method and Description |
|---|---|
static SortDefinition.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortDefinition.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortDefinition.Direction ASC
public static final SortDefinition.Direction DESC
public static SortDefinition.Direction[] values()
for (SortDefinition.Direction c : SortDefinition.Direction.values()) System.out.println(c);
public static SortDefinition.Direction 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 © 2020 com.github.eoscode. All rights reserved.