Class CharHashBag.InternalIterator
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.primitive.CharHashBag.InternalIterator
-
- All Implemented Interfaces:
CharIterator,MutableCharIterator
- Enclosing class:
- CharHashBag
private class CharHashBag.InternalIterator extends java.lang.Object implements MutableCharIterator
-
-
Field Summary
Fields Modifier and Type Field Description private booleancanRemoveprivate MutableCharIteratorcharIteratorprivate charcurrentItemprivate intoccurrences
-
Constructor Summary
Constructors Modifier Constructor Description privateInternalIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()charnext()voidremove()
-
-
-
Field Detail
-
charIterator
private MutableCharIterator charIterator
-
currentItem
private char currentItem
-
occurrences
private int occurrences
-
canRemove
private boolean canRemove
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceCharIterator
-
next
public char next()
- Specified by:
nextin interfaceCharIterator
-
remove
public void remove()
- Specified by:
removein interfaceMutableCharIterator
-
-