|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Hints>
sudoku.Hints
public enum Hints
Number of possibilities at a location. If there are any ONE_HINT locations, then TWO_HINT is not indicated (it will appear as NO_HINT) to make life simpler for the game player.
Enum Constant Summary | |
---|---|
NO_HINT
3 or more possibilities or 2 possibiliites when another location has a single possibility. |
|
ONE_HINT
A single possibility for this location |
|
TWO_HINT
Two possibilities for this location, providing there are no locations with single possibilities. |
Method Summary | |
---|---|
static Hints |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Hints[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Hints NO_HINT
public static final Hints ONE_HINT
public static final Hints TWO_HINT
Method Detail |
---|
public static Hints[] values()
for (Hints c : Hints.values()) System.out.println(c);
public static Hints 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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |