/** * Constructor - initialized entry. * @param rowIndex Row index. * @param colIndex Column index. * @param digit Entry digit. */ public BoardCell(int rowIndex, int colIndex, int digit) { this.rowIndex = rowIndex; this.colIndex = colIndex; this.digit = digit; randomSeed = SudokuStore.nextRandom(); digitsStillFreeNumber = -1; }
/** * Cell is not pointing to any cells on the board. */ public BoardCell() { rowIndex = INDEX_NULL; colIndex = INDEX_NULL; digit = EMPTY; randomSeed = SudokuStore.nextRandom(); digitsStillFreeNumber = -1; }