public enum ChallengeDifficulty extends java.lang.Enum<ChallengeDifficulty>
| Modifier and Type | Method and Description |
|---|---|
static ChallengeDifficulty |
fromValue(int value) |
int |
intValue() |
static ChallengeDifficulty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChallengeDifficulty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChallengeDifficulty EASY
public static final ChallengeDifficulty NORMAL
public static final ChallengeDifficulty EXPERT
public static ChallengeDifficulty[] values()
for (ChallengeDifficulty c : ChallengeDifficulty.values()) System.out.println(c);
public static ChallengeDifficulty 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 ChallengeDifficulty fromValue(int value)
public int intValue()