Class Setting

java.lang.Object
org.drools.examples.sudoku.Setting

public class Setting extends Object
Represents a temporary fact used for assigning a value to a cell.
  • Constructor Details

    • Setting

      public Setting(int row, int col, Integer value)
      Constructor.
      Parameters:
      row - the row number of the Cell to set
      col - the column number of the Cell to set
      value - the value to set
  • Method Details

    • getRowNo

      public int getRowNo()
      Returns the row number.
      Returns:
      an int value
    • getColNo

      public int getColNo()
      Returns the column number.
      Returns:
      an int value
    • getValue

      public Integer getValue()
      Returns the value.
      Returns:
      an Integer object