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

pack-priv final Class CellEvaluationFrame

extends Object
Class Inheritance
Imports
java.util.HashSet, .Set, org.apache.poi.ss.formula.eval.ValueEval

Stores details about the current evaluation of a cell.

Field Summary

Modifier and TypeField and Description
private final FormulaCellCacheEntry
private final Set<CellCacheEntry>
private FormulaUsedBlankCellSet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addSensitiveInputCell(CellCacheEntry
a cell directly used by the formula of this evaluation frame
inputCell
)

public void
addUsedBlankCell(EvaluationWorkbook evalWorkbook, int bookIndex, int sheetIndex, int rowIndex, int columnIndex)

public CellCacheEntry
private CellCacheEntry[]

Returns:

never null, (possibly empty) array of all cells directly used while evaluating the formula of this frame.
getSensitiveInputCells
()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

_cceback to summary
private final FormulaCellCacheEntry _cce
_sensitiveInputCellsback to summary
private final Set<CellCacheEntry> _sensitiveInputCells
_usedBlankCellGroupback to summary
private FormulaUsedBlankCellSet _usedBlankCellGroup

Constructor Detail

CellEvaluationFrameback to summary
public CellEvaluationFrame(FormulaCellCacheEntry cce)

Method Detail

addSensitiveInputCellback to summary
public void addSensitiveInputCell(CellCacheEntry inputCell)
Parameters
inputCell:CellCacheEntry

a cell directly used by the formula of this evaluation frame

addUsedBlankCellback to summary
public void addUsedBlankCell(EvaluationWorkbook evalWorkbook, int bookIndex, int sheetIndex, int rowIndex, int columnIndex)
getCCEback to summary
public CellCacheEntry getCCE()
getSensitiveInputCellsback to summary
private CellCacheEntry[] getSensitiveInputCells()
Returns:CellCacheEntry[]

never null, (possibly empty) array of all cells directly used while evaluating the formula of this frame.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

updateFormulaResultback to summary
public void updateFormulaResult(ValueEval result)