fix merge
All checks were successful
Linux arm64 / Build (push) Successful in 43s

This commit is contained in:
2025-01-21 18:47:09 +01:00
parent 1594961613
commit 780c88d0da
5 changed files with 14 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ public class Sudoku {
public Sudoku(List<Cell> cells, List<Block> blocks, List<IConstraint> constraints) {
this.cells = cells;
this.blocks = blocks;
this.constraints = new ArrayList<>(constraints);
this.constraints = constraints;
}
public Cell getCell(int x, int y) {
@@ -45,6 +45,14 @@ public class Sudoku {
throw new Error("Function isValid() not implemented");
}
public List<Cell> getCells() {
return this.cells;
}
public List<Block> getBlocks() {
return this.blocks;
}
public List<MutableCell> getMutableCells() {
List<MutableCell> mutableCells = new ArrayList<>();
for (Cell cell : this.cells) {