protected abstract static class AbstractLinkedMap.LinkIterator<K,V> extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
expectedModCount
The modification count expected
|
protected AbstractLinkedMap.LinkEntry<K,V> |
last
The current (last returned) entry
|
protected AbstractLinkedMap.LinkEntry<K,V> |
next
The next entry
|
protected AbstractLinkedMap<K,V> |
parent
The parent map
|
Modifier | Constructor and Description |
---|---|
protected |
LinkIterator(AbstractLinkedMap<K,V> parent) |
Modifier and Type | Method and Description |
---|---|
protected AbstractLinkedMap.LinkEntry<K,V> |
currentEntry() |
boolean |
hasNext() |
boolean |
hasPrevious() |
protected AbstractLinkedMap.LinkEntry<K,V> |
nextEntry() |
protected AbstractLinkedMap.LinkEntry<K,V> |
previousEntry() |
void |
remove() |
void |
reset() |
String |
toString() |
protected final AbstractLinkedMap<K,V> parent
protected AbstractLinkedMap.LinkEntry<K,V> last
protected AbstractLinkedMap.LinkEntry<K,V> next
protected int expectedModCount
protected LinkIterator(AbstractLinkedMap<K,V> parent)
public boolean hasNext()
public boolean hasPrevious()
protected AbstractLinkedMap.LinkEntry<K,V> nextEntry()
protected AbstractLinkedMap.LinkEntry<K,V> previousEntry()
protected AbstractLinkedMap.LinkEntry<K,V> currentEntry()
public void remove()
public void reset()
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.