Enum Powers.Prayer.Book
- java.lang.Object
-
- java.lang.Enum<Powers.Prayer.Book>
-
- com.runemate.game.api.rs3.local.hud.Powers.Prayer.Book
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Powers.Prayer.Book>
- Enclosing class:
- Powers.Prayer
public static enum Powers.Prayer.Book extends java.lang.Enum<Powers.Prayer.Book>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANCIENT_CURSES
STANDARD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Powers.Prayer.Book
get(int id)
static Powers.Prayer.Book
getCurrent()
int
getId()
boolean
isCurrent()
static Powers.Prayer.Book
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Powers.Prayer.Book[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final Powers.Prayer.Book STANDARD
-
ANCIENT_CURSES
public static final Powers.Prayer.Book ANCIENT_CURSES
-
-
Method Detail
-
values
public static Powers.Prayer.Book[] 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 (Powers.Prayer.Book c : Powers.Prayer.Book.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Powers.Prayer.Book 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
-
getCurrent
public static Powers.Prayer.Book getCurrent()
-
get
public static Powers.Prayer.Book get(int id)
-
getId
public int getId()
-
isCurrent
public boolean isCurrent()
-
-