org.apache.poi.ss.usermodel.FormulaEvaluator .
This class stores previously calculated values of already visited cells,
to avoid unnecessary re-calculation when the same cells are referenced multiple times
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final IEvaluationListener | _evaluationListener
only used for testing. |
| private final FormulaCellCache | |
| private final PlainCellCache |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public void | |
| public FormulaCellCacheEntry | |
| public PlainValueCellCacheEntry | |
| public void | |
| public void | |
| private void | updateAnyBlankReferencingFormulas(int bookIndex, int sheetIndex, final int rowIndex, final int columnIndex)
|
| _evaluationListener | back to summary |
|---|---|
| pack-priv final IEvaluationListener _evaluationListener only used for testing. | |
| _formulaCellCache | back to summary |
|---|---|
| private final FormulaCellCache _formulaCellCache | |
| _plainCellCache | back to summary |
|---|---|
| private final PlainCellCache _plainCellCache | |
| EvaluationCache | back to summary |
|---|---|
| pack-priv EvaluationCache(IEvaluationListener evaluationListener) | |
| areValuesEqual | back to summary |
|---|---|
| private boolean areValuesEqual(ValueEval a, ValueEval b) | |
| clear | back to summary |
|---|---|
| public void clear() Should be called whenever there are changes to input cells in the evaluated workbook. | |
| getOrCreateFormulaCellEntry | back to summary |
|---|---|
| public FormulaCellCacheEntry getOrCreateFormulaCellEntry(EvaluationCell cell) | |
| getPlainValueEntry | back to summary |
|---|---|
| public PlainValueCellCacheEntry getPlainValueEntry(int bookIndex, int sheetIndex, int rowIndex, int columnIndex, ValueEval value) | |
| notifyDeleteCell | back to summary |
|---|---|
| public void notifyDeleteCell(int bookIndex, int sheetIndex, EvaluationCell cell) | |
| notifyUpdateCell | back to summary |
|---|---|
| public void notifyUpdateCell(int bookIndex, int sheetIndex, EvaluationCell cell) | |
| updateAnyBlankReferencingFormulas | back to summary |
|---|---|
| private void updateAnyBlankReferencingFormulas(int bookIndex, int sheetIndex, final int rowIndex, final int columnIndex) | |