WorkbookEvaluator#evaluate(EvaluationCell)}
The main purpose of this class is to detect an attempt to evaluate a cell
that is already being evaluated. In other words, it detects circular
references in spreadsheet formulas.
| Modifier and Type | Field and Description |
|---|---|
| private final EvaluationCache | |
| private final Set | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | acceptPlainValueDependency(EvaluationWorkbook evalWorkbook, int bookIndex, int sheetIndex, int rowIndex, int columnIndex, ValueEval value)
|
| public void | endEvaluate(CellCacheEntry cce)
Notifies this evaluation tracker that the evaluation of the specified cell is complete. |
| public boolean | Returns: false if the specified cell is already being evaluatedNotifies this evaluation tracker that evaluation of the specified cell is about to start. |
| public void |
| _cache | back to summary |
|---|---|
| private final EvaluationCache _cache | |
| _currentlyEvaluatingCells | back to summary |
|---|---|
| private final Set<FormulaCellCacheEntry> _currentlyEvaluatingCells | |
| _evaluationFrames | back to summary |
|---|---|
| private final List<CellEvaluationFrame> _evaluationFrames | |
| EvaluationTracker | back to summary |
|---|---|
| public EvaluationTracker(EvaluationCache cache) | |
| acceptFormulaDependency | back to summary |
|---|---|
| public void acceptFormulaDependency(CellCacheEntry cce) | |
| acceptPlainValueDependency | back to summary |
|---|---|
| public void acceptPlainValueDependency(EvaluationWorkbook evalWorkbook, int bookIndex, int sheetIndex, int rowIndex, int columnIndex, ValueEval value) | |
| endEvaluate | back to summary |
|---|---|
| public void endEvaluate(CellCacheEntry cce) Notifies this evaluation tracker that the evaluation of the specified cell is complete.
Every successful call to Assuming a well behaved client, parameters to this method would not be required. However, they have been included to assert correct behaviour, and form more meaningful error messages. | |
| startEvaluate | back to summary |
|---|---|
| public boolean startEvaluate(FormulaCellCacheEntry cce) Notifies this evaluation tracker that evaluation of the specified cell is
about to start.
| |
| updateCacheResult | back to summary |
|---|---|
| public void updateCacheResult(ValueEval result) | |