org.apache.commons.collections.map
Class AbstractLinkedMap.KeySetIterator

java.lang.Object
  |
  +--org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator
        |
        +--org.apache.commons.collections.map.AbstractLinkedMap.EntrySetIterator
              |
              +--org.apache.commons.collections.map.AbstractLinkedMap.KeySetIterator
All Implemented Interfaces:
Iterator, OrderedIterator, ResettableIterator
Enclosing class:
AbstractLinkedMap

protected static class AbstractLinkedMap.KeySetIterator
extends AbstractLinkedMap.EntrySetIterator

KeySet iterator.


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

Constructor Detail

AbstractLinkedMap.KeySetIterator

protected AbstractLinkedMap.KeySetIterator(AbstractLinkedMap parent)
Method Detail

next

public Object next()
Overrides:
next in class AbstractLinkedMap.EntrySetIterator

previous

public Object previous()
Description copied from interface: OrderedIterator
Gets the previous element from the collection.
Overrides:
previous in class AbstractLinkedMap.EntrySetIterator
Following copied from interface: org.apache.commons.collections.OrderedIterator
Returns:
the previous key in the iteration
Throws:
NoSuchElementException - if the iteration is finished


Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.