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 booleancanRemoveprivate shortcurrentItemprivate intoccurrencesprivate MutableShortIteratorshortIterator
-
Constructor Summary
Constructors Modifier Constructor Description privateInternalIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()shortnext()voidremove()
-
-
-
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:
hasNextin interfaceShortIterator
-
next
public short next()
- Specified by:
nextin interfaceShortIterator
-
remove
public void remove()
- Specified by:
removein interfaceMutableShortIterator
-
-