Class ShortHashBag.InternalIterator
java.lang.Object
org.eclipse.collections.impl.bag.mutable.primitive.ShortHashBag.InternalIterator
- All Implemented Interfaces:
MutableShortIterator, ShortIterator
- Enclosing class:
ShortHashBag
- Since:
- 3.0.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate shortprivate intprivate MutableShortIterator -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
shortIterator
-
currentItem
private short currentItem -
occurrences
private int occurrences -
canRemove
private boolean canRemove
-
-
Constructor Details
-
InternalIterator
private InternalIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceShortIterator
-
next
public short next()- Specified by:
nextin interfaceShortIterator
-
remove
public void remove()- Specified by:
removein interfaceMutableShortIterator
-