Sets base and all cells to the given value.
(long initialValue)
| 285 | */ |
| 286 | |
| 287 | final void internalReset(long initialValue) { |
| 288 | Cell[] as = cells; |
| 289 | base = initialValue; |
| 290 | if (as != null) { |
| 291 | int n = as.length; |
| 292 | for (int i = 0; i < n; ++i) { |
| 293 | Cell a = as[i]; |
| 294 | if (a != null) |
| 295 | a.value = initialValue; |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | // Unsafe mechanics |
| 301 |