public static enum GrandExchangeOffer.OfferState extends java.lang.Enum<GrandExchangeOffer.OfferState>
Enum Constant and Description |
---|
BOUGHT
A buy offer that has completed.
|
BUYING
A buy offer that is currently in progress.
|
CANCELLED_BUY
A cancelled buy offer.
|
CANCELLED_SELL
A cancelled sell offer.
|
EMPTY
An empty slot.
|
SELLING
A sell offer that is currently in progress.
|
SOLD
A sell offer that has completed.
|
Modifier and Type | Method and Description |
---|---|
static GrandExchangeOffer.OfferState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GrandExchangeOffer.OfferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrandExchangeOffer.OfferState EMPTY
public static final GrandExchangeOffer.OfferState CANCELLED_BUY
public static final GrandExchangeOffer.OfferState CANCELLED_SELL
public static final GrandExchangeOffer.OfferState BUYING
public static final GrandExchangeOffer.OfferState BOUGHT
public static final GrandExchangeOffer.OfferState SELLING
public static final GrandExchangeOffer.OfferState SOLD
public static GrandExchangeOffer.OfferState[] values()
for (GrandExchangeOffer.OfferState c : GrandExchangeOffer.OfferState.values()) System.out.println(c);
public static GrandExchangeOffer.OfferState 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