|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections.map.AbstractLinkedMap.LinkIterator
Base Iterator that iterates in link order.
Field Summary | |
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 |
Constructor Summary | |
protected |
AbstractLinkedMap.LinkIterator(AbstractLinkedMap parent)
|
Method Summary | |
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.commons.collections.OrderedIterator |
previous |
Methods inherited from interface java.util.Iterator |
next |
Field Detail |
protected final AbstractLinkedMap parent
protected AbstractLinkedMap.LinkEntry last
protected AbstractLinkedMap.LinkEntry next
protected int expectedModCount
Constructor Detail |
protected AbstractLinkedMap.LinkIterator(AbstractLinkedMap parent)
Method Detail |
public boolean hasNext()
hasNext
in interface Iterator
public boolean hasPrevious()
OrderedIterator
hasPrevious
in interface OrderedIterator
true
if the iterator has a previous elementprotected AbstractLinkedMap.LinkEntry nextEntry()
protected AbstractLinkedMap.LinkEntry previousEntry()
protected AbstractLinkedMap.LinkEntry currentEntry()
public void remove()
remove
in interface Iterator
public void reset()
ResettableIterator
reset
in interface ResettableIterator
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |