org.apache.commons.collections.bidimap

Class AbstractDualBidiMap.EntrySetIterator

Enclosing Class:
AbstractDualBidiMap
Implemented Interfaces:
Iterator

protected static class AbstractDualBidiMap.EntrySetIterator
extends AbstractIteratorDecorator

Inner class EntrySetIterator.

Field Summary

protected boolean
canRemove
Whether remove is allowed at present
protected Map.Entry
last
The last returned entry
protected AbstractDualBidiMap
parent
The parent map

Fields inherited from class org.apache.commons.collections.iterators.AbstractIteratorDecorator

iterator

Constructor Summary

EntrySetIterator(Iterator iterator, AbstractDualBidiMap parent)
Constructor.

Method Summary

Object
next()
void
remove()

Methods inherited from class org.apache.commons.collections.iterators.AbstractIteratorDecorator

getIterator, hasNext, next, remove

Field Details

canRemove

protected boolean canRemove
Whether remove is allowed at present

last

protected Map.Entry last
The last returned entry

parent

protected final AbstractDualBidiMap parent
The parent map

Constructor Details

EntrySetIterator

protected EntrySetIterator(Iterator iterator,
                           AbstractDualBidiMap parent)
Constructor.
Parameters:
iterator - the iterator to decorate
parent - the parent map

Method Details

next

public Object next()
Overrides:
next in interface AbstractIteratorDecorator

remove

public void remove()
Overrides:
remove in interface AbstractIteratorDecorator

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