Package io.keikai.api

Interface CellVisitor


public interface CellVisitor
The visitor to help you to visit cells of a Range.
Since:
3.0.0
Author:
dennis
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    ignoreIfNotExist(int row, int column)
    Should ignore to visit a cell on (row,column) if the cell doesn't existed.
    boolean
    visit(Range cellRange)
    Visits the cell
  • Method Details

    • ignoreIfNotExist

      boolean ignoreIfNotExist(int row, int column)
      Should ignore to visit a cell on (row,column) if the cell doesn't existed. This method is called only when the cell of (row,column) is null.
      Parameters:
      row - the row of the cell
      column - the column of the cell
      Returns:
      true if should ignore visiting the cell if it is not exist.
    • visit

      boolean visit(Range cellRange)
      Visits the cell
      Parameters:
      cellRange - the range of a cell
      Returns:
      true if should continue visit next cell.