Class AbstractMapBag.BagIterator<E>
- java.lang.Object
-
- org.apache.commons.collections4.bag.AbstractMapBag.BagIterator<E>
-
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
- AbstractMapBag<E>
static class AbstractMapBag.BagIterator<E> extends Object implements Iterator<E>
Inner class iterator for the Bag.
-
-
Constructor Summary
Constructors Constructor Description BagIterator(AbstractMapBag<E> parent)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Enext()voidremove()-
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
-
-
-
-
Constructor Detail
-
BagIterator
public BagIterator(AbstractMapBag<E> parent)
Constructor.- Parameters:
parent- the parent bag
-
-