Package com.runemate.game.api.hybrid.net
Enum GrandExchange.Offer.State
- java.lang.Object
-
- java.lang.Enum<GrandExchange.Offer.State>
-
- com.runemate.game.api.hybrid.net.GrandExchange.Offer.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GrandExchange.Offer.State>
- Enclosing class:
- GrandExchange.Offer
public static enum GrandExchange.Offer.State extends java.lang.Enum<GrandExchange.Offer.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLING
COMPLETED
COMPLETING
EMPTY
IN_PROGRESS
STARTING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrandExchange.Offer.State
get(int id)
java.lang.String
toString()
static GrandExchange.Offer.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GrandExchange.Offer.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final GrandExchange.Offer.State EMPTY
-
STARTING
public static final GrandExchange.Offer.State STARTING
-
IN_PROGRESS
public static final GrandExchange.Offer.State IN_PROGRESS
-
COMPLETING
public static final GrandExchange.Offer.State COMPLETING
-
CANCELLING
public static final GrandExchange.Offer.State CANCELLING
-
COMPLETED
public static final GrandExchange.Offer.State COMPLETED
-
-
Method Detail
-
values
public static GrandExchange.Offer.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GrandExchange.Offer.State c : GrandExchange.Offer.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GrandExchange.Offer.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
get
public static GrandExchange.Offer.State get(int id)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<GrandExchange.Offer.State>
-
-