Enum Constant | Description |
---|---|
TICKER_ASC |
The ticker asc.
|
TICKER_DESC |
The ticker desc.
|
TYPE_ASC |
The type asc.
|
TYPE_DESC |
The type desc.
|
Modifier and Type | Method | Description |
---|---|---|
static Sort |
fromAPIName(java.lang.String apiName) |
From API name.
|
java.lang.String |
getAPIName() |
Gets the API name.
|
static Sort |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Sort[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sort TICKER_ASC
public static final Sort TYPE_ASC
public static final Sort TICKER_DESC
public static final Sort TYPE_DESC
public static Sort[] values()
for (Sort c : Sort.values()) System.out.println(c);
public static Sort valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getAPIName()
public static Sort fromAPIName(java.lang.String apiName)
apiName
- the api name