Interface ChengAndChurch.CellVisitor

  • Enclosing class:
    ChengAndChurch

    protected static interface ChengAndChurch.CellVisitor
    Visitor pattern for processing cells.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ALL
      Different modes of operation.
      static int NOT_SELECTED
      Different modes of operation.
      static int SELECTED
      Different modes of operation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean visit​(double val, int row, int col, boolean selrow, boolean selcol)
      Visit a cell.
    • Method Detail

      • visit

        boolean visit​(double val,
                      int row,
                      int col,
                      boolean selrow,
                      boolean selcol)
        Visit a cell.
        Parameters:
        val - Value
        row - Row Number
        col - Column number
        selrow - Boolean, whether row is selected
        selcol - Boolean, whether column is selected
        Returns:
        Stop flag, return true to stop visiting