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:
- java.util.Iterator
- Enclosing class:
- AbstractDualBidiMap
protected static class AbstractDualBidiMap.KeySetIterator
- extends AbstractIteratorDecorator
Inner class KeySetIterator.
Method Summary |
java.lang.Object |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected final AbstractDualBidiMap parent
- The parent map
lastKey
protected java.lang.Object lastKey
- The last returned key
canRemove
protected boolean canRemove
- Whether remove is allowed at present
AbstractDualBidiMap.KeySetIterator
protected AbstractDualBidiMap.KeySetIterator(java.util.Iterator iterator,
AbstractDualBidiMap parent)
- Constructor.
- Parameters:
iterator
- the iterator to decorateparent
- the parent map
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
- Overrides:
next
in class AbstractIteratorDecorator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
- Overrides:
remove
in class AbstractIteratorDecorator
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.