Top Description Fields Constructors Methods
org.apache.poi.ss.formula

pack-priv final Class FormulaCellCacheEntry

extends CellCacheEntry
Class Inheritance
Imports
java.util.Arrays, .Collections, .HashSet, .Set, org.apache.poi.ss.formula.eval.ValueEval, org.apache.poi.ss.formula.FormulaUsedBlankCellSet.BookSheetKey

Stores the cached result of a formula evaluation, along with the set of sensitive input cells

Field Summary

Modifier and TypeField and Description
private CellCacheEntry[]
_sensitiveInputCells

Cells 'used' in the current evaluation of the formula corresponding to this cache entry If any of the following cells change, this cache entry needs to be cleared

private FormulaUsedBlankCellSet
Inherited from org.apache.poi.ss.formula.CellCacheEntry:
EMPTY_ARRAY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
public void
public boolean
public void
notifyUpdatedBlankCell(FormulaUsedBlankCellSet.BookSheetKey bsk, int rowIndex, int columnIndex, IEvaluationListener evaluationListener)

public void
setSensitiveInputCells(CellCacheEntry[] sensitiveInputCells)

public void
updateFormulaResult(ValueEval result, CellCacheEntry[] sensitiveInputCells, FormulaUsedBlankCellSet usedBlankAreas)

Inherited from org.apache.poi.ss.formula.CellCacheEntry:
addConsumingCellclearConsumingCellclearValuegetConsumingCellsgetValuerecurseClearCachedFormulaResultsrecurseClearCachedFormulaResultsrecurseClearCachedFormulaResultsupdateValue

Field Detail

_sensitiveInputCellsback to summary
private CellCacheEntry[] _sensitiveInputCells

Cells 'used' in the current evaluation of the formula corresponding to this cache entry If any of the following cells change, this cache entry needs to be cleared

_usedBlankCellGroupback to summary
private FormulaUsedBlankCellSet _usedBlankCellGroup

Constructor Detail

FormulaCellCacheEntryback to summary
public FormulaCellCacheEntry()

Method Detail

changeConsumingCellsback to summary
private void changeConsumingCells(CellCacheEntry[] usedCells)
clearFormulaEntryback to summary
public void clearFormulaEntry()
isInputSensitiveback to summary
public boolean isInputSensitive()
notifyUpdatedBlankCellback to summary
public void notifyUpdatedBlankCell(FormulaUsedBlankCellSet.BookSheetKey bsk, int rowIndex, int columnIndex, IEvaluationListener evaluationListener)
setSensitiveInputCellsback to summary
public void setSensitiveInputCells(CellCacheEntry[] sensitiveInputCells)
updateFormulaResultback to summary
public void updateFormulaResult(ValueEval result, CellCacheEntry[] sensitiveInputCells, FormulaUsedBlankCellSet usedBlankAreas)