Package algs13.xbacktrack.xsudoku
Class XSudokuCell
java.lang.Object
algs13.xbacktrack.xsudoku.XSudokuCell
- Direct Known Subclasses:
- XImmutableCell,- XMutableCell
A cell in a Sudoku grid.
 Each cell has an x (row) coordinate and y (column) coordinate, and is part of
 a subgrid. These properties are fixed at the time a cell is constructed.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) abstract intgetDigit()Get the digit currently associated with this cell.
- 
Field Details- 
x
- 
y
- 
subgridId
 
- 
- 
Constructor Details- 
XSudokuCellXSudokuCell(int x, int y) 
 
- 
- 
Method Details- 
getDigitGet the digit currently associated with this cell.- Returns:
- the digit associated with this cell
 
 
-