org.apache.commons.collections.map
Class AbstractLinkedMap.KeySetIterator<K,V>
java.lang.Object
org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator<K,V>
org.apache.commons.collections.map.AbstractLinkedMap.KeySetIterator<K,V>
- All Implemented Interfaces:
- Iterator<K>, OrderedIterator<K>, ResettableIterator<K>
- Enclosing class:
- AbstractLinkedMap<K,V>
protected static class AbstractLinkedMap.KeySetIterator<K,V>
- extends AbstractLinkedMap.LinkIterator<K,V>
- implements OrderedIterator<K>, ResettableIterator<K>
KeySet iterator.
Method Summary |
K |
next()
|
K |
previous()
Gets the previous element from the collection. |
AbstractLinkedMap.KeySetIterator
protected AbstractLinkedMap.KeySetIterator(AbstractLinkedMap<K,V> parent)
next
public K next()
- Specified by:
next
in interface Iterator<K>
previous
public K previous()
- Description copied from interface:
OrderedIterator
- Gets the previous element from the collection.
- Specified by:
previous
in interface OrderedIterator<K>
- Returns:
- the previous key in the iteration
Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.