|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eriksilkensen.sudoku.Cell
com.eriksilkensen.sudoku.Hint
public class Hint
Hint is a specialized version of a Cell that represents a Cell that knows its location along with its value.
| Field Summary |
|---|
| Fields inherited from class com.eriksilkensen.sudoku.Cell |
|---|
PLAYER, STARTER |
| Constructor Summary | |
|---|---|
Hint(int row,
int col,
int value)
The only constructor provided requires the initializing of a specific location [row][col] along with a value. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Determines the equality of this Hint object and the passed in Object o in the argument list Two equal Hints must have the same row, col, and value values. |
int |
getCol()
Returns the col |
int |
getRow()
Returns the row |
| Methods inherited from class com.eriksilkensen.sudoku.Cell |
|---|
getType, getValue, setType, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Hint(int row,
int col,
int value)
| Method Detail |
|---|
public int getRow()
public int getCol()
public boolean equals(java.lang.Object o)
equals in class Cell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||