Class DoubleHashBag.InternalIterator
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.primitive.DoubleHashBag.InternalIterator
-
- All Implemented Interfaces:
DoubleIterator
,MutableDoubleIterator
- Enclosing class:
- DoubleHashBag
private class DoubleHashBag.InternalIterator extends java.lang.Object implements MutableDoubleIterator
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
canRemove
private double
currentItem
private MutableDoubleIterator
doubleIterator
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()
double
next()
void
remove()
-
-
-
Field Detail
-
doubleIterator
private MutableDoubleIterator doubleIterator
-
currentItem
private double currentItem
-
occurrences
private int occurrences
-
canRemove
private boolean canRemove
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceDoubleIterator
-
next
public double next()
- Specified by:
next
in interfaceDoubleIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableDoubleIterator
-
-