| 
 | ||||||||||
| 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
protected abstract static class AbstractLinkedMap.LinkIterator
Base Iterator that iterates in link order.
| Field Summary | |
|---|---|
| protected  int | expectedModCountThe modification count expected | 
| protected  AbstractLinkedMap.LinkEntry | lastThe current (last returned) entry | 
| protected  AbstractLinkedMap.LinkEntry | nextThe next entry | 
| protected  AbstractLinkedMap | parentThe 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. | 
|  java.lang.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 | 
| 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 java.util.Iteratorpublic boolean hasPrevious()
OrderedIterator
hasPrevious in interface OrderedIteratortrue if the iterator has a previous elementprotected AbstractLinkedMap.LinkEntry nextEntry()
protected AbstractLinkedMap.LinkEntry previousEntry()
protected AbstractLinkedMap.LinkEntry currentEntry()
public void remove()
remove in interface java.util.Iteratorpublic void reset()
ResettableIterator
reset in interface ResettableIteratorpublic java.lang.String toString()
toString in class java.lang.Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||