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

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

protected static class AbstractLinkedMap.ValuesIterator<K,V>
extends AbstractLinkedMap.LinkIterator<K,V>
implements OrderedIterator<V>, ResettableIterator<V>

Values iterator.


Field Summary
 
Fields inherited from class org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator
expectedModCount, last, next, parent
 
Constructor Summary
protected AbstractLinkedMap.ValuesIterator(AbstractLinkedMap<K,V> parent)
           
 
Method Summary
 V next()
           
 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.ValuesIterator

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

next

public V next()
Specified by:
next in interface Iterator<V>

previous

public V previous()
Description copied from interface: OrderedIterator
Gets the previous element from the collection.

Specified by:
previous in interface OrderedIterator<V>
Returns:
the previous key in the iteration


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