Serializable
, Comparable<Constants.SortOrder>
public static enum Constants.SortOrder extends Enum<Constants.SortOrder>
Modifier and Type | Method | Description |
---|---|---|
static Constants.SortOrder |
forValue(String value) |
|
String |
toString() |
|
String |
toValue() |
|
static Constants.SortOrder |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Constants.SortOrder[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.SortOrder ASC
public static final Constants.SortOrder DESC
public static Constants.SortOrder[] values()
for (Constants.SortOrder c : Constants.SortOrder.values()) System.out.println(c);
public static Constants.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 static Constants.SortOrder forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<Constants.SortOrder>
Copyright © 2018. All rights reserved.