public static enum Puzzle.DifficultyType extends java.lang.Enum<Puzzle.DifficultyType>
Enum Constant and Description |
---|
challenging |
difficult |
easy |
genius |
intermediate |
tutorial |
Modifier and Type | Method and Description |
---|---|
static Puzzle.DifficultyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Puzzle.DifficultyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Puzzle.DifficultyType tutorial
public static final Puzzle.DifficultyType easy
public static final Puzzle.DifficultyType intermediate
public static final Puzzle.DifficultyType challenging
public static final Puzzle.DifficultyType difficult
public static final Puzzle.DifficultyType genius
public static Puzzle.DifficultyType[] values()
for (Puzzle.DifficultyType c : Puzzle.DifficultyType.values()) System.out.println(c);
public static Puzzle.DifficultyType 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 null