Class UnifiedSetWithHashingStrategy.PositionalIterator
- java.lang.Object
-
- org.eclipse.collections.impl.set.strategy.mutable.UnifiedSetWithHashingStrategy.PositionalIterator
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Enclosing class:
- UnifiedSetWithHashingStrategy<T>
protected class UnifiedSetWithHashingStrategy.PositionalIterator extends java.lang.Object implements java.util.Iterator<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected int
chainPosition
protected int
count
protected boolean
lastReturned
protected int
position
-
Constructor Summary
Constructors Modifier Constructor Description protected
PositionalIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
protected T
nextFromChain()
void
remove()
protected void
removeFromChain()
protected void
removeLastFromChain(UnifiedSetWithHashingStrategy.ChainedBucket bucket, int tableIndex)
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<T>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<T>
-
removeFromChain
protected void removeFromChain()
-
removeLastFromChain
protected void removeLastFromChain(UnifiedSetWithHashingStrategy.ChainedBucket bucket, int tableIndex)
-
nextFromChain
protected T nextFromChain()
-
-