예제 #1
0
 /**
  * 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;
 }
예제 #2
0
 /**
  * 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;
 }