Class UnifiedSetWithHashingStrategy.PositionalIterator

java.lang.Object
org.eclipse.collections.impl.set.strategy.mutable.UnifiedSetWithHashingStrategy.PositionalIterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
UnifiedSetWithHashingStrategy<T>

protected class UnifiedSetWithHashingStrategy.PositionalIterator extends Object implements Iterator<T>
  • Field Details

    • count

      protected int count
    • position

      protected int position
    • chainPosition

      protected int chainPosition
    • lastReturned

      protected boolean lastReturned
  • Constructor Details

    • PositionalIterator

      protected PositionalIterator()
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>
    • removeFromChain

      protected void removeFromChain()
    • removeLastFromChain

      protected void removeLastFromChain(UnifiedSetWithHashingStrategy.ChainedBucket bucket, int tableIndex)
    • nextFromChain

      protected T nextFromChain()
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>