private class ConcurrentReferenceHashMap.EntryIterator
extends java.lang.Object
implements java.util.Iterator<java.util.Map.Entry<K,V>>
Modifier and Type | Field and Description |
---|---|
private ConcurrentReferenceHashMap.Entry<K,V> |
last |
private ConcurrentReferenceHashMap.Entry<K,V> |
next |
private ConcurrentReferenceHashMap.Reference<K,V> |
reference |
private int |
referenceIndex |
private ConcurrentReferenceHashMap.Reference<K,V>[] |
references |
private int |
segmentIndex |
Constructor and Description |
---|
EntryIterator() |
Modifier and Type | Method and Description |
---|---|
private void |
getNextIfNecessary() |
boolean |
hasNext() |
private void |
moveToNextReference() |
private void |
moveToNextSegment() |
ConcurrentReferenceHashMap.Entry<K,V> |
next() |
void |
remove() |
private int segmentIndex
private int referenceIndex
private ConcurrentReferenceHashMap.Reference<K,V>[] references
private ConcurrentReferenceHashMap.Reference<K,V> reference
private ConcurrentReferenceHashMap.Entry<K,V> next
private ConcurrentReferenceHashMap.Entry<K,V> last
public boolean hasNext()
public ConcurrentReferenceHashMap.Entry<K,V> next()
private void getNextIfNecessary()
private void moveToNextReference()
private void moveToNextSegment()