public enum HiscoreTable extends java.lang.Enum<HiscoreTable>
Hiscores.| Enum Constant and Description |
|---|
DEFAULT
The default RuneScape
Hiscores. |
HARDCORE_IRONMAN
The
Hiscores for hardcore ironman players. |
IRONMAN
The
Hiscores for ironman players. |
OLDSCHOOL
The oldschool RuneScape
Hiscores. |
OLDSCHOOL_IRONMAN
The
Hiscores for oldschool RuneScape ironman players. |
OLDSCHOOL_ULTIMATE_IRONMAN
The
Hiscores for oldschool RuneScape ultimate ironman players. |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<HiscoreTable> |
from(java.lang.String name)
Gets a
HiscoreTable from its name. |
ImmutableList<java.lang.String> |
getActivityNames()
Gets the names of activities found on this hiscore table.
|
java.lang.String |
getName()
Gets the name of this hiscore table.
|
ImmutableList<java.lang.String> |
getSkillNames()
Gets the names of skills found on this hiscore table.
|
java.lang.String |
toString() |
static HiscoreTable |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HiscoreTable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiscoreTable DEFAULT
Hiscores.public static final HiscoreTable IRONMAN
Hiscores for ironman players.public static final HiscoreTable HARDCORE_IRONMAN
Hiscores for hardcore ironman players.public static final HiscoreTable OLDSCHOOL
Hiscores.public static final HiscoreTable OLDSCHOOL_IRONMAN
Hiscores for oldschool RuneScape ironman players.public static final HiscoreTable OLDSCHOOL_ULTIMATE_IRONMAN
Hiscores for oldschool RuneScape ultimate ironman players.public static HiscoreTable[] values()
for (HiscoreTable c : HiscoreTable.values()) System.out.println(c);
public static HiscoreTable 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 nullpublic static java.util.Optional<HiscoreTable> from(java.lang.String name)
HiscoreTable from its name.name - The name of the HiscoreTable.HiscoreTable or Optional.empty() if no table was found.public java.lang.String getName()
public ImmutableList<java.lang.String> getSkillNames()
public ImmutableList<java.lang.String> getActivityNames()
public java.lang.String toString()
toString in class java.lang.Enum<HiscoreTable>