Package io.keikai.model.impl.sys.formula
Class EvalSheet
- java.lang.Object
-
- io.keikai.model.impl.sys.formula.EvalSheet
-
- All Implemented Interfaces:
Serializable,EvaluationSheet
public class EvalSheet extends Object implements EvaluationSheet, Serializable
- Since:
- 3.5.0
- Author:
- Pao
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAllCachedResultValues()Propagated fromEvaluationWorkbook.clearAllCachedResultValues()to clear locally cached data.booleanequals(Object obj)EvaluationCellgetCell(int rowIndex, int columnIndex)intgetLastRowNum()SSheetgetNSheet()inthashCode()booleanisFiltered()booleanisHidden(int rowIndex, int columnIndex)booleanisRowHidden(int rowIndex)Used by SUBTOTAL and similar functions that have options to ignore hidden rowsIterator<EvaluationCell>nonEmptyCellsIterator(int columnIndex)Iterator<EvaluationCell>nonEmptyCellsIterator(int rowStart, int rowEnd, int columnStart, int columnEnd)
-
-
-
Constructor Detail
-
EvalSheet
public EvalSheet(SSheet sheet)
-
-
Method Detail
-
getNSheet
public SSheet getNSheet()
-
getCell
public EvaluationCell getCell(int rowIndex, int columnIndex)
- Specified by:
getCellin interfaceEvaluationSheet- Returns:
nullif there is no cell at the specified coordinates
-
nonEmptyCellsIterator
public Iterator<EvaluationCell> nonEmptyCellsIterator(int rowStart, int rowEnd, int columnStart, int columnEnd)
- Specified by:
nonEmptyCellsIteratorin interfaceEvaluationSheet
-
nonEmptyCellsIterator
public Iterator<EvaluationCell> nonEmptyCellsIterator(int columnIndex)
- Specified by:
nonEmptyCellsIteratorin interfaceEvaluationSheet
-
clearAllCachedResultValues
public void clearAllCachedResultValues()
Description copied from interface:EvaluationSheetPropagated fromEvaluationWorkbook.clearAllCachedResultValues()to clear locally cached data.- Specified by:
clearAllCachedResultValuesin interfaceEvaluationSheet- See Also:
WorkbookEvaluator.clearAllCachedResultValues(),EvaluationWorkbook.clearAllCachedResultValues()
-
getLastRowNum
public int getLastRowNum()
- Specified by:
getLastRowNumin interfaceEvaluationSheet- Returns:
- last row index referenced on this sheet, for evaluation optimization
-
isHidden
public boolean isHidden(int rowIndex, int columnIndex)- Specified by:
isHiddenin interfaceEvaluationSheet
-
isRowHidden
public boolean isRowHidden(int rowIndex)
Description copied from interface:EvaluationSheetUsed by SUBTOTAL and similar functions that have options to ignore hidden rows- Specified by:
isRowHiddenin interfaceEvaluationSheet- Returns:
- true if the row is hidden, false if not
-
isFiltered
public boolean isFiltered()
- Specified by:
isFilteredin interfaceEvaluationSheet
-
-