org.drools.examples.sudoku
Class CellSqr

java.lang.Object
  extended by org.drools.examples.sudoku.SetOfNine
      extended by org.drools.examples.sudoku.CellGroup
          extended by org.drools.examples.sudoku.CellSqr

public class CellSqr
extends CellGroup

Represents a 3x3 area of Sudoku grid cells.


Field Summary
 
Fields inherited from class org.drools.examples.sudoku.CellGroup
allNine
 
Constructor Summary
CellSqr(CellRow cellRow0, CellRow cellRow1, CellRow cellRow2, CellCol cellCol0, CellCol cellCol1, CellCol cellCol2)
          Constructor.
 
Method Summary
 
Methods inherited from class org.drools.examples.sudoku.CellGroup
addCell, getCells
 
Methods inherited from class org.drools.examples.sudoku.SetOfNine
blockExcept, blockValue, getFree, getFreeCount, getFreeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellSqr

public CellSqr(CellRow cellRow0,
               CellRow cellRow1,
               CellRow cellRow2,
               CellCol cellCol0,
               CellCol cellCol1,
               CellCol cellCol2)
Constructor.

Parameters:
cellRow0 - the 1st row passing through this block.
cellRow1 - the 2nd row passing through this block.
cellRow2 - the 3rd row passing through this block.
cellCol0 - the 1st column passing through this block.
cellCol1 - the 2nd column passing through this block.
cellCol2 - the 3rd column passing through this block.


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.