org.apache.commons.collections.bidimap
Class AbstractDualBidiMap.KeySetIterator

java.lang.Object
  |
  +--org.apache.commons.collections.iterators.AbstractIteratorDecorator
        |
        +--org.apache.commons.collections.bidimap.AbstractDualBidiMap.KeySetIterator
All Implemented Interfaces:
Iterator
Enclosing class:
AbstractDualBidiMap

protected static class AbstractDualBidiMap.KeySetIterator
extends AbstractIteratorDecorator

Inner class KeySetIterator.


Field Summary
protected  boolean canRemove
          Whether remove is allowed at present
protected  Object lastKey
          The last returned key
protected  AbstractDualBidiMap parent
          The parent map
 
Fields inherited from class org.apache.commons.collections.iterators.AbstractIteratorDecorator
iterator
 
Constructor Summary
protected AbstractDualBidiMap.KeySetIterator(Iterator iterator, AbstractDualBidiMap parent)
           
 
Method Summary
 Object next()
           
 void remove()
           
 
Methods inherited from class org.apache.commons.collections.iterators.AbstractIteratorDecorator
getIterator, hasNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected final AbstractDualBidiMap parent
The parent map

lastKey

protected Object lastKey
The last returned key

canRemove

protected boolean canRemove
Whether remove is allowed at present
Constructor Detail

AbstractDualBidiMap.KeySetIterator

protected AbstractDualBidiMap.KeySetIterator(Iterator iterator,
                                             AbstractDualBidiMap parent)
Method Detail

next

public Object next()
Overrides:
next in class AbstractIteratorDecorator

remove

public void remove()
Overrides:
remove in class AbstractIteratorDecorator


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