Package io.keikai.api
Interface CellVisitor
-
public interface CellVisitor
The visitor to help you to visit cells of aRange
.- Since:
- 3.0.0
- Author:
- dennis
- See Also:
Range.visit(CellVisitor)
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
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 cellcolumn
- 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.
-
-