Class AbstractMapBag.BagIterator<E>
java.lang.Object
org.apache.commons.collections4.bag.AbstractMapBag.BagIterator<E>
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
AbstractMapBag<E>
Inner class iterator for the Bag.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private Map.Entry
<E, AbstractMapBag.MutableInteger> private final Iterator
<Map.Entry<E, AbstractMapBag.MutableInteger>> private int
private final int
private final AbstractMapBag
<E> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parent
-
entryIterator
-
current
-
itemCount
private int itemCount -
mods
private final int mods -
canRemove
private boolean canRemove
-
-
Constructor Details
-
BagIterator
Constructor.- Parameters:
parent
- the parent bag
-
-
Method Details