2187 |
|
* paranoically cope with potential sharing by users of iterators |
2188 |
|
* across threads, iteration terminates if a bounds checks fails |
2189 |
|
* for a table read. |
2190 |
– |
* |
2190 |
|
*/ |
2191 |
|
static class Traverser<K,V> { |
2192 |
|
Node<K,V>[] tab; // current table; updated if resized |
4352 |
|
* Base class for bulk tasks. Repeats some fields and code from |
4353 |
|
* class Traverser, because we need to subclass CountedCompleter. |
4354 |
|
*/ |
4355 |
< |
static abstract class BulkTask<K,V,R> extends CountedCompleter<R> { |
4355 |
> |
abstract static class BulkTask<K,V,R> extends CountedCompleter<R> { |
4356 |
|
Node<K,V>[] tab; // same as Traverser |
4357 |
|
Node<K,V> next; |
4358 |
|
int index; |