org.apache.commons.collections.bidimap

Class AbstractDualBidiMap.KeySetIterator

protected static class AbstractDualBidiMap.KeySetIterator extends AbstractIteratorDecorator

Inner class KeySetIterator.
Field Summary
protected booleancanRemove
Whether remove is allowed at present
protected ObjectlastKey
The last returned key
protected AbstractDualBidiMapparent
The parent map
Constructor Summary
protected KeySetIterator(Iterator iterator, AbstractDualBidiMap parent)
Constructor.
Method Summary
Objectnext()
voidremove()

Field Detail

canRemove

protected boolean canRemove
Whether remove is allowed at present

lastKey

protected Object lastKey
The last returned key

parent

protected final AbstractDualBidiMap parent
The parent map

Constructor Detail

KeySetIterator

protected KeySetIterator(Iterator iterator, AbstractDualBidiMap parent)
Constructor.

Parameters: iterator the iterator to decorate parent the parent map

Method Detail

next

public Object next()

remove

public void remove()
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.