Class ConcurrentHashMapV8.BaseIterator<K,V>
- java.lang.Object
-
- org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.Traverser<K,V>
-
- org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.BaseIterator<K,V>
-
- Direct Known Subclasses:
ConcurrentHashMapV8.EntryIterator
,ConcurrentHashMapV8.KeyIterator
,ConcurrentHashMapV8.ValueIterator
- Enclosing class:
- ConcurrentHashMapV8<K,V>
static class ConcurrentHashMapV8.BaseIterator<K,V> extends ConcurrentHashMapV8.Traverser<K,V>
Base of key, value, and entry Iterators. Adds fields to Traverser to support iterator.remove.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ConcurrentHashMapV8.Node<K,V>
lastReturned
(package private) ConcurrentHashMapV8<K,V>
map
-
Constructor Summary
Constructors Constructor Description BaseIterator(ConcurrentHashMapV8.Node<K,V>[] tab, int size, int index, int limit, ConcurrentHashMapV8<K,V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
boolean
hasNext()
void
remove()
-
Methods inherited from class org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.Traverser
advance
-
-
-
-
Field Detail
-
map
final ConcurrentHashMapV8<K,V> map
-
lastReturned
ConcurrentHashMapV8.Node<K,V> lastReturned
-
-
Constructor Detail
-
BaseIterator
BaseIterator(ConcurrentHashMapV8.Node<K,V>[] tab, int size, int index, int limit, ConcurrentHashMapV8<K,V> map)
-
-