Package rs.kreme.ksbot.api.hooks
Enum Teleporter.Category
- java.lang.Object
-
- java.lang.Enum<Teleporter.Category>
-
- rs.kreme.ksbot.api.hooks.Teleporter.Category
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Teleporter.Category>
- Enclosing class:
- Teleporter
public static enum Teleporter.Category extends java.lang.Enum<Teleporter.Category>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Teleporter.Category
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Teleporter.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKILLING
public static final Teleporter.Category SKILLING
-
BOSSING
public static final Teleporter.Category BOSSING
-
TRAINING
public static final Teleporter.Category TRAINING
-
WILDERNESS
public static final Teleporter.Category WILDERNESS
-
MINIGAMES
public static final Teleporter.Category MINIGAMES
-
CITIES
public static final Teleporter.Category CITIES
-
-
Method Detail
-
values
public static Teleporter.Category[] 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 (Teleporter.Category c : Teleporter.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Teleporter.Category 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
-
-