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 boolean
canRemove
private int
currentItem
private MutableIntIterator
intIterator
private int
occurrences
-
Constructor Summary
Constructors Modifier Constructor Description private
InternalIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
int
next()
void
remove()
-
-
-
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:
hasNext
in interfaceIntIterator
-
next
public int next()
- Specified by:
next
in interfaceIntIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableIntIterator
-
-