org.drools.examples.sudoku
Class CellRow

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

public class CellRow
extends CellFile

Represents a row of Sudoku grid cells.


Field Summary
 
Fields inherited from class org.drools.examples.sudoku.CellGroup
allNine
 
Constructor Summary
CellRow(int number)
          Constructor.
 
Method Summary
 String toString()
           
 
Methods inherited from class org.drools.examples.sudoku.CellFile
getNumber
 
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, wait, wait, wait
 

Constructor Detail

CellRow

public CellRow(int number)
Constructor.

Parameters:
number - the row number.
Method Detail

toString

public String toString()
Overrides:
toString in class CellFile


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