org.apache.commons.collections.bidimap

Class AbstractDualBidiMap.ValuesIterator

Enclosing Class:
AbstractDualBidiMap
Implemented Interfaces:
Iterator

protected static class AbstractDualBidiMap.ValuesIterator
extends AbstractIteratorDecorator

Inner class ValuesIterator.

Field Summary

protected boolean
canRemove
Whether remove is allowed at present
protected Object
lastValue
The last returned value
protected AbstractDualBidiMap
parent
The parent map

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

iterator

Constructor Summary

ValuesIterator(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

lastValue

protected Object lastValue
The last returned value

parent

protected final AbstractDualBidiMap parent
The parent map

Constructor Details

ValuesIterator

protected ValuesIterator(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.