public enum TickerSort extends java.lang.Enum<TickerSort> implements APIName
Enum Constant and Description |
---|
TICKER_ASCENDING
The ticker ascending.
|
TICKER_DESCENDING
The ticker descending.
|
TYPE_ASCENDING
The type ascending.
|
TYPE_DESCENDING
The type descending.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAPIName()
Gets the API name.
|
static TickerSort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TickerSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TickerSort TICKER_ASCENDING
public static final TickerSort TICKER_DESCENDING
public static final TickerSort TYPE_ASCENDING
public static final TickerSort TYPE_DESCENDING
public static TickerSort[] values()
for (TickerSort c : TickerSort.values()) System.out.println(c);
public static TickerSort 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()
APIName
getAPIName
in interface APIName