org.apache.commons.collections.map
Class AbstractLinkedMap.EntrySetIterator<K,V>

java.lang.Object
  extended by org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator<K,V>
      extended by org.apache.commons.collections.map.AbstractLinkedMap.EntrySetIterator<K,V>
All Implemented Interfaces:
Iterator<Map.Entry<K,V>>, OrderedIterator<Map.Entry<K,V>>, ResettableIterator<Map.Entry<K,V>>
Enclosing class:
AbstractLinkedMap<K,V>

protected static class AbstractLinkedMap.EntrySetIterator<K,V>
extends AbstractLinkedMap.LinkIterator<K,V>
implements OrderedIterator<Map.Entry<K,V>>, ResettableIterator<Map.Entry<K,V>>

EntrySet iterator.


Field Summary
 
Fields inherited from class org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator
expectedModCount, last, next, parent
 
Constructor Summary
protected AbstractLinkedMap.EntrySetIterator(AbstractLinkedMap<K,V> parent)
           
 
Method Summary
 Map.Entry<K,V> next()
           
 Map.Entry<K,V> previous()
          Gets the previous element from the collection.
 
Methods inherited from class org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator
currentEntry, hasNext, hasPrevious, nextEntry, previousEntry, remove, reset, 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
hasPrevious
 
Methods inherited from interface java.util.Iterator
hasNext, remove
 
Methods inherited from interface org.apache.commons.collections.ResettableIterator
reset
 
Methods inherited from interface java.util.Iterator
hasNext, remove
 

Constructor Detail

AbstractLinkedMap.EntrySetIterator

protected AbstractLinkedMap.EntrySetIterator(AbstractLinkedMap<K,V> parent)
Method Detail

next

public Map.Entry<K,V> next()
Specified by:
next in interface Iterator<Map.Entry<K,V>>

previous

public Map.Entry<K,V> previous()
Description copied from interface: OrderedIterator
Gets the previous element from the collection.

Specified by:
previous in interface OrderedIterator<Map.Entry<K,V>>
Returns:
the previous key in the iteration


Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.