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 void
clearAllCachedResultValues()
Propagated fromEvaluationWorkbook.clearAllCachedResultValues()
to clear locally cached data.boolean
equals(Object obj)
EvaluationCell
getCell(int rowIndex, int columnIndex)
int
getLastRowNum()
SSheet
getNSheet()
int
hashCode()
boolean
isFiltered()
boolean
isHidden(int rowIndex, int columnIndex)
boolean
isRowHidden(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:
getCell
in interfaceEvaluationSheet
- Returns:
null
if there is no cell at the specified coordinates
-
nonEmptyCellsIterator
public Iterator<EvaluationCell> nonEmptyCellsIterator(int rowStart, int rowEnd, int columnStart, int columnEnd)
- Specified by:
nonEmptyCellsIterator
in interfaceEvaluationSheet
-
nonEmptyCellsIterator
public Iterator<EvaluationCell> nonEmptyCellsIterator(int columnIndex)
- Specified by:
nonEmptyCellsIterator
in interfaceEvaluationSheet
-
clearAllCachedResultValues
public void clearAllCachedResultValues()
Description copied from interface:EvaluationSheet
Propagated fromEvaluationWorkbook.clearAllCachedResultValues()
to clear locally cached data.- Specified by:
clearAllCachedResultValues
in interfaceEvaluationSheet
- See Also:
WorkbookEvaluator.clearAllCachedResultValues()
,EvaluationWorkbook.clearAllCachedResultValues()
-
getLastRowNum
public int getLastRowNum()
- Specified by:
getLastRowNum
in interfaceEvaluationSheet
- Returns:
- last row index referenced on this sheet, for evaluation optimization
-
isHidden
public boolean isHidden(int rowIndex, int columnIndex)
- Specified by:
isHidden
in interfaceEvaluationSheet
-
isRowHidden
public boolean isRowHidden(int rowIndex)
Description copied from interface:EvaluationSheet
Used by SUBTOTAL and similar functions that have options to ignore hidden rows- Specified by:
isRowHidden
in interfaceEvaluationSheet
- Returns:
- true if the row is hidden, false if not
-
isFiltered
public boolean isFiltered()
- Specified by:
isFiltered
in interfaceEvaluationSheet
-
-