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

pack-priv abstract Class CellCacheEntry

extends Object
implements ICacheEntry
Class Inheritance
All Implemented Interfaces
org.apache.poi.ss.formula.IEvaluationListener.ICacheEntry
Known Direct Subclasses
org.apache.poi.ss.formula.FormulaCellCacheEntry, org.apache.poi.ss.formula.PlainValueCellCacheEntry
Imports
org.apache.poi.ss.formula.eval.BlankEval, .BoolEval, .ErrorEval, .NumberEval, .StringEval, .ValueEval, org.apache.poi.ss.formula.IEvaluationListener.ICacheEntry

Stores the parameters that identify the evaluation of one cell.

Field Summary

Modifier and TypeField and Description
private final FormulaCellCacheEntrySet
private ValueEval
public static final CellCacheEntry[]

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public final void
private static boolean
public final void
protected final void
public final FormulaCellCacheEntry[]
public final ValueEval
public final void
protected final void
recurseClearCachedFormulaResults()

Calls formulaCell.setFormulaResult(null, null) recursively all the way up the tree of dependencies.

protected final void
recurseClearCachedFormulaResults(IEvaluationListener listener, int depth)

Identical to recurseClearCachedFormulaResults() except for the listener call-backs

public final boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_consumingCellsback to summary
private final FormulaCellCacheEntrySet _consumingCells
_valueback to summary
private ValueEval _value
EMPTY_ARRAYback to summary
public static final CellCacheEntry[] EMPTY_ARRAY

Constructor Detail

CellCacheEntryback to summary
protected CellCacheEntry()

Method Detail

addConsumingCellback to summary
public final void addConsumingCell(FormulaCellCacheEntry cellLoc)
areValuesEqualback to summary
private static boolean areValuesEqual(ValueEval a, ValueEval b)
clearConsumingCellback to summary
public final void clearConsumingCell(FormulaCellCacheEntry cce)
clearValueback to summary
protected final void clearValue()
getConsumingCellsback to summary
public final FormulaCellCacheEntry[] getConsumingCells()
getValueback to summary
public final ValueEval getValue()

Implements org.apache.poi.ss.formula.IEvaluationListener.ICacheEntry.getValue.

recurseClearCachedFormulaResultsback to summary
public final void recurseClearCachedFormulaResults(IEvaluationListener listener)
recurseClearCachedFormulaResultsback to summary
protected final void recurseClearCachedFormulaResults()

Calls formulaCell.setFormulaResult(null, null) recursively all the way up the tree of dependencies. Calls usedCell.clearConsumingCell(fc) for each child of a cell that is cleared along the way.

recurseClearCachedFormulaResultsback to summary
protected final void recurseClearCachedFormulaResults(IEvaluationListener listener, int depth)

Identical to recurseClearCachedFormulaResults() except for the listener call-backs

updateValueback to summary
public final boolean updateValue(ValueEval value)