protected abstract static class AbstractLinkedMap.LinkIterator extends Object implements OrderedIterator, ResettableIterator
| Modifier and Type | Field and Description |
|---|---|
protected int |
expectedModCount
The modification count expected
|
protected AbstractLinkedMap.LinkEntry |
last
The current (last returned) entry
|
protected AbstractLinkedMap.LinkEntry |
next
The next entry
|
protected AbstractLinkedMap |
parent
The parent map
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLinkedMap.LinkIterator(AbstractLinkedMap parent) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractLinkedMap.LinkEntry |
currentEntry() |
boolean |
hasNext() |
boolean |
hasPrevious()
Checks to see if there is a previous element that can be iterated to.
|
protected AbstractLinkedMap.LinkEntry |
nextEntry() |
protected AbstractLinkedMap.LinkEntry |
previousEntry() |
void |
remove() |
void |
reset()
Resets the iterator back to the position at which the iterator
was created.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpreviousprotected final AbstractLinkedMap parent
protected AbstractLinkedMap.LinkEntry last
protected AbstractLinkedMap.LinkEntry next
protected int expectedModCount
protected AbstractLinkedMap.LinkIterator(AbstractLinkedMap parent)
public boolean hasPrevious()
OrderedIteratorhasPrevious in interface OrderedIteratortrue if the iterator has a previous elementprotected AbstractLinkedMap.LinkEntry nextEntry()
protected AbstractLinkedMap.LinkEntry previousEntry()
protected AbstractLinkedMap.LinkEntry currentEntry()
public void reset()
ResettableIteratorreset in interface ResettableIteratorCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.