Package io.keikai.model.impl.sys.formula
Class EvalSheet
- java.lang.Object
-
- io.keikai.model.impl.sys.formula.EvalSheet
-
- All Implemented Interfaces:
java.io.Serializable,EvaluationSheet
public class EvalSheet extends java.lang.Object implements EvaluationSheet, java.io.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(java.lang.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 rowsjava.util.Iterator<EvaluationCell>nonEmptyCellsIterator(int columnIndex)java.util.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 java.util.Iterator<EvaluationCell> nonEmptyCellsIterator(int rowStart, int rowEnd, int columnStart, int columnEnd)
- Specified by:
nonEmptyCellsIteratorin interfaceEvaluationSheet
-
nonEmptyCellsIterator
public java.util.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
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
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
-
-