Package com.runemate.game.api.hybrid.net
Enum HiScores.PlayerType
- java.lang.Object
-
- java.lang.Enum<HiScores.PlayerType>
-
- com.runemate.game.api.hybrid.net.HiScores.PlayerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HiScores.PlayerType>
- Enclosing class:
- HiScores
public static enum HiScores.PlayerType extends java.lang.Enum<HiScores.PlayerType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OSRS
OSRS_IRONMAN
OSRS_ULTIMATE_IRONMAN
RS3
RS3_HARDCORE_IRONMAN
RS3_IRONMAN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HiScores.PlayerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HiScores.PlayerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RS3
public static final HiScores.PlayerType RS3
-
RS3_IRONMAN
public static final HiScores.PlayerType RS3_IRONMAN
-
RS3_HARDCORE_IRONMAN
public static final HiScores.PlayerType RS3_HARDCORE_IRONMAN
-
OSRS
public static final HiScores.PlayerType OSRS
-
OSRS_IRONMAN
public static final HiScores.PlayerType OSRS_IRONMAN
-
OSRS_ULTIMATE_IRONMAN
public static final HiScores.PlayerType OSRS_ULTIMATE_IRONMAN
-
-
Method Detail
-
values
public static HiScores.PlayerType[] 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 (HiScores.PlayerType c : HiScores.PlayerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HiScores.PlayerType 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
-
-