Class ShortHashBag.InternalIterator
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.primitive.ShortHashBag.InternalIterator
-
- All Implemented Interfaces:
MutableShortIterator
,ShortIterator
- Enclosing class:
- ShortHashBag
private class ShortHashBag.InternalIterator extends java.lang.Object implements MutableShortIterator
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
canRemove
private short
currentItem
private int
occurrences
private MutableShortIterator
shortIterator
-
Constructor Summary
Constructors Modifier Constructor Description private
InternalIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
short
next()
void
remove()
-
-
-
Field Detail
-
shortIterator
private MutableShortIterator shortIterator
-
currentItem
private short currentItem
-
occurrences
private int occurrences
-
canRemove
private boolean canRemove
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceShortIterator
-
next
public short next()
- Specified by:
next
in interfaceShortIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableShortIterator
-
-