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 intchainPositionprotected intcountprotected booleanlastReturnedprotected intposition
-
Constructor Summary
Constructors Modifier Constructor Description protectedPositionalIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Tnext()protected TnextFromChain()voidremove()protected voidremoveFromChain()protected voidremoveLastFromChain(UnifiedSetWithHashingStrategy.ChainedBucket bucket, int tableIndex)
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T>
-
removeFromChain
protected void removeFromChain()
-
removeLastFromChain
protected void removeLastFromChain(UnifiedSetWithHashingStrategy.ChainedBucket bucket, int tableIndex)
-
nextFromChain
protected T nextFromChain()
-
-