Package org.drools.examples.sudoku
Class CellGroup
java.lang.Object
org.drools.examples.sudoku.SetOfNine
org.drools.examples.sudoku.CellGroup
Abstract base class for all kinds of groups of related cells.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.drools.examples.sudoku.SetOfNine
blockExcept, blockValue, getFree, getFreeCount, getFreeValue
-
Field Details
-
ALL_NINE
-
-
Constructor Details
-
CellGroup
protected CellGroup()Constructor.
-
-
Method Details
-
addCell
Add another Cell object to the cells of this group.- Parameters:
cell- a Cell object.
-
getCells
Returns the Cell objects in this group.- Returns:
- a List of Cell objects.
-