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

public Interface IStabilityClassifier


Used to help optimise cell evaluation result caching by allowing applications to specify which parts of a workbook are final.
The term final is introduced here to denote immutability or 'having constant definition'. This classification refers to potential actions (on the evaluated workbook) by the evaluating application. It does not refer to operations performed by the evaluator (WorkbookEvaluator).

General guidelines: Notes:

Field Summary

Modifier and TypeField and Description
public static final IStabilityClassifier
TOTALLY_IMMUTABLE

Convenience implementation for situations where all cell definitions remain fixed after evaluation begins.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

false if the evaluating application may need to modify the specified cell between calls to the evaluator.
isCellFinal
(int
zero based index into workbook sheet list
sheetIndex
,
int
zero based row index of cell
rowIndex
,
int
zero based column index of cell
columnIndex
)

Checks if a cell's value(/formula) is fixed - in other words - not expected to be modified between calls to the evaluator.

Field Detail

TOTALLY_IMMUTABLEback to summary
public static final IStabilityClassifier TOTALLY_IMMUTABLE

Convenience implementation for situations where all cell definitions remain fixed after evaluation begins.

Method Detail

isCellFinalback to summary
public boolean isCellFinal(int sheetIndex, int rowIndex, int columnIndex)

Checks if a cell's value(/formula) is fixed - in other words - not expected to be modified between calls to the evaluator. (Note - this is an independent concept from whether a formula cell's evaluated value may change during successive calls to the evaluator).

Parameters
sheetIndex:int

zero based index into workbook sheet list

rowIndex:int

zero based row index of cell

columnIndex:int

zero based column index of cell

Returns:boolean

false if the evaluating application may need to modify the specified cell between calls to the evaluator.