Class AbstractDualBidiMap.ValuesIterator<V>
- java.lang.Object
-
- org.apache.openjpa.lib.util.collections.AbstractUntypedIteratorDecorator<E,E>
-
- org.apache.openjpa.lib.util.collections.AbstractIteratorDecorator<V>
-
- org.apache.openjpa.lib.util.collections.AbstractDualBidiMap.ValuesIterator<V>
-
- All Implemented Interfaces:
java.util.Iterator<V>
- Enclosing class:
- AbstractDualBidiMap<K,V>
protected static class AbstractDualBidiMap.ValuesIterator<V> extends AbstractIteratorDecorator<V>
Inner class ValuesIterator.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedValuesIterator(java.util.Iterator<V> iterator, AbstractDualBidiMap<?,V> parent)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vnext()voidremove()-
Methods inherited from class org.apache.openjpa.lib.util.collections.AbstractUntypedIteratorDecorator
getIterator, hasNext
-
-
-
-
Field Detail
-
parent
protected final AbstractDualBidiMap<java.lang.Object,V> parent
The parent map
-
lastValue
protected V lastValue
The last returned value
-
canRemove
protected boolean canRemove
Whether remove is allowed at present
-
-
Constructor Detail
-
ValuesIterator
protected ValuesIterator(java.util.Iterator<V> iterator, AbstractDualBidiMap<?,V> parent)
Constructor.- Parameters:
iterator- the iterator to decorateparent- the parent map
-
-
Method Detail
-
next
public V next()
Description copied from class:AbstractIteratorDecorator- Specified by:
nextin interfacejava.util.Iterator<V>- Overrides:
nextin classAbstractIteratorDecorator<V>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<V>- Overrides:
removein classAbstractUntypedIteratorDecorator<V,V>
-
-