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 boolean
canRemove
private MutableCharIterator
charIterator
private char
currentItem
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()
char
next()
void
remove()
-
-
-
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:
hasNext
in interfaceCharIterator
-
next
public char next()
- Specified by:
next
in interfaceCharIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableCharIterator
-
-