org.apache.commons.collections.map
Class AbstractLinkedMap.ValuesIterator<K,V>
java.lang.Object
org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator<K,V>
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.
Method Summary |
V |
next()
|
V |
previous()
Gets the previous element from the collection. |
AbstractLinkedMap.ValuesIterator
protected AbstractLinkedMap.ValuesIterator(AbstractLinkedMap<K,V> parent)
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.