Class AbstractMapBag.BagIterator
java.lang.Object
org.apache.commons.collections.bag.AbstractMapBag.BagIterator
- All Implemented Interfaces:
Iterator
- Enclosing class:
- AbstractMapBag
Inner class iterator for the Bag.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private Map.Entry
private Iterator
private int
private final int
private AbstractMapBag
-
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