|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Cell | |
|---|---|
| com.eriksilkensen.sudoku | |
| Uses of Cell in com.eriksilkensen.sudoku |
|---|
| Subclasses of Cell in com.eriksilkensen.sudoku | |
|---|---|
class |
Hint
Hint is a specialized version of a Cell that represents a Cell that knows its location along with its value. |
| Methods in com.eriksilkensen.sudoku that return Cell | |
|---|---|
Cell |
Board.getCell(int row,
int col)
Gets the Cell at the location [row][col] |
Cell[][] |
Board.getCells()
Returns this Board's Cells |
Cell[] |
GeneratingBoardFactory.getRandomCells(int[] rows,
int[] cols,
Cell[][] cells)
Helper method that can be used to generate some random Cell values |
protected Cell[][] |
TextFileBoardFactory.makeCells(java.io.File file)
Parses the text file into a Cell array so the Board can be created |
Cell |
Board.removeCell(int row,
int col)
Removes the Cell at the location [row][col] and returns it |
| Methods in com.eriksilkensen.sudoku with parameters of type Cell | |
|---|---|
boolean |
GeneratingBoardFactory.attemptToRemoveCell(Cell cell,
Board board,
int row,
int col)
Determines the legality of attemption to remove a given Cell on the Given Board at the given location [row][col]. |
Cell[] |
GeneratingBoardFactory.getRandomCells(int[] rows,
int[] cols,
Cell[][] cells)
Helper method that can be used to generate some random Cell values |
boolean |
SolvingStrategy.isLegalBoard(Cell[][] cells)
Helper method |
boolean |
SolvingStrategy.isLegalCell(Cell val,
Cell[][] cells,
int row,
int col)
Helper method |
boolean |
SolvingStrategy.isLegalCell(Cell val,
Cell[][] cells,
int row,
int col)
Helper method |
void |
Board.setCell(int row,
int col,
Cell cell)
Sets the Cell at the location [row][col] to be 'cell' |
void |
SudokuModel.updateBoard(int row,
int col,
Cell cell)
Updates the Cell at the location [row][col] and sets it to the passed Cell argument |
| Constructors in com.eriksilkensen.sudoku with parameters of type Cell | |
|---|---|
Board(Cell[][] cells,
BoardDifficulties difficulty)
Creates a Board with the supplied Cells and difficulty level |
|
Cell(Cell other)
Copy-constructor |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||