private abstract class EquivalentLinkedHashMap.EquivalentLinkedHashIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Modifier and Type | Field and Description |
---|---|
(package private) int |
expectedModCount
The modCount value that the iterator believes that the backing
List should have.
|
(package private) EquivalentLinkedHashMap.LinkedEntry<K,V> |
lastReturned |
(package private) EquivalentHashMap<K,V> |
map |
(package private) EquivalentLinkedHashMap.LinkedEntry<K,V> |
nextEntry |
Modifier | Constructor and Description |
---|---|
protected |
EquivalentLinkedHashMap.EquivalentLinkedHashIterator(EquivalentHashMap<K,V> map) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
equals(EquivalentLinkedHashMap.LinkedEntry<K,V> entry,
EquivalentLinkedHashMap.LinkedNode<K,V> node) |
boolean |
hasNext() |
(package private) EquivalentLinkedHashMap.LinkedEntry<K,V> |
nextEntry() |
void |
remove() |
final EquivalentHashMap<K,V> map
EquivalentLinkedHashMap.LinkedEntry<K,V> nextEntry
EquivalentLinkedHashMap.LinkedEntry<K,V> lastReturned
int expectedModCount
protected EquivalentLinkedHashMap.EquivalentLinkedHashIterator(EquivalentHashMap<K,V> map)
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
EquivalentLinkedHashMap.LinkedEntry<K,V> nextEntry()
boolean equals(EquivalentLinkedHashMap.LinkedEntry<K,V> entry, EquivalentLinkedHashMap.LinkedNode<K,V> node)