Class DoubleHashBag.InternalIterator
java.lang.Object
org.eclipse.collections.impl.bag.mutable.primitive.DoubleHashBag.InternalIterator
- All Implemented Interfaces:
DoubleIterator
,MutableDoubleIterator
- Enclosing class:
DoubleHashBag
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private double
private MutableDoubleIterator
private int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
doubleIterator
-
currentItem
private double currentItem -
occurrences
private int occurrences -
canRemove
private boolean canRemove
-
-
Constructor Details
-
InternalIterator
private InternalIterator()
-
-
Method Details
-
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
-