org.apache.commons.collections.map
Class AbstractLinkedMap.EntrySetIterator<K,V>
java.lang.Object
org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator<K,V>
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.
AbstractLinkedMap.EntrySetIterator
protected AbstractLinkedMap.EntrySetIterator(AbstractLinkedMap<K,V> parent)
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.