java.util.HashSet in order to reduce memory consumption.
Profiling tests (Oct 2008) have shown that each element FormulaCellCacheEntry takes
around 32 bytes to store in a HashSet, but around 6 bytes to store here. For Spreadsheets with
thousands of formula cells with multiple interdependencies, the savings can be very significant.
| Modifier and Type | Field and Description |
|---|---|
| private FormulaCellCacheEntry[] | |
| private int | |
| private static final FormulaCellCacheEntry[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private static boolean | |
| public boolean | |
| public FormulaCellCacheEntry[] |
| _arr | back to summary |
|---|---|
| private FormulaCellCacheEntry[] _arr | |
| _size | back to summary |
|---|---|
| private int _size | |
| EMPTY_ARRAY | back to summary |
|---|---|
| private static final FormulaCellCacheEntry[] EMPTY_ARRAY | |
| FormulaCellCacheEntrySet | back to summary |
|---|---|
| public FormulaCellCacheEntrySet() | |
| add | back to summary |
|---|---|
| public void add(CellCacheEntry cce) | |
| addInternal | back to summary |
|---|---|
| private static boolean addInternal(CellCacheEntry[] arr, CellCacheEntry cce) | |
| remove | back to summary |
|---|---|
| public boolean remove(CellCacheEntry cce) | |
| toArray | back to summary |
|---|---|
| public FormulaCellCacheEntry[] toArray() | |