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