Class IntHashBag.InternalIterator
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag.InternalIterator
-
- All Implemented Interfaces:
IntIterator,MutableIntIterator
- Enclosing class:
- IntHashBag
private class IntHashBag.InternalIterator extends java.lang.Object implements MutableIntIterator
-
-
Field Summary
Fields Modifier and Type Field Description private booleancanRemoveprivate intcurrentItemprivate MutableIntIteratorintIteratorprivate intoccurrences
-
Constructor Summary
Constructors Modifier Constructor Description privateInternalIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()intnext()voidremove()
-
-
-
Field Detail
-
intIterator
private MutableIntIterator intIterator
-
currentItem
private int currentItem
-
occurrences
private int occurrences
-
canRemove
private boolean canRemove
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIntIterator
-
next
public int next()
- Specified by:
nextin interfaceIntIterator
-
remove
public void remove()
- Specified by:
removein interfaceMutableIntIterator
-
-