public static enum GrandExchange.Status extends java.lang.Enum<GrandExchange.Status>
Enum Constant and Description |
---|
CANCELLING_BUY |
CANCELLING_SALE |
COMPLETING_BUY |
COMPLETING_SALE |
EMPTY |
FINISHED_BUY |
FINISHED_SALE |
INITIALIZING_BUY |
INITIALIZING_SALE |
PENDING_BUY |
PENDING_SALE |
Modifier and Type | Method and Description |
---|---|
static GrandExchange.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GrandExchange.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrandExchange.Status EMPTY
public static final GrandExchange.Status PENDING_SALE
public static final GrandExchange.Status PENDING_BUY
public static final GrandExchange.Status FINISHED_SALE
public static final GrandExchange.Status FINISHED_BUY
public static final GrandExchange.Status INITIALIZING_SALE
public static final GrandExchange.Status INITIALIZING_BUY
public static final GrandExchange.Status CANCELLING_SALE
public static final GrandExchange.Status CANCELLING_BUY
public static final GrandExchange.Status COMPLETING_SALE
public static final GrandExchange.Status COMPLETING_BUY
public static GrandExchange.Status[] values()
for (GrandExchange.Status c : GrandExchange.Status.values()) System.out.println(c);
public static GrandExchange.Status 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 null