Class 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 Detail

      • count

        protected int count
      • position

        protected int position
      • chainPosition

        protected int chainPosition
      • lastReturned

        protected boolean lastReturned
    • Constructor Detail

      • PositionalIterator

        protected PositionalIterator()
    • Method Detail

      • hasNext

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

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

        protected void removeFromChain()
      • nextFromChain

        protected T nextFromChain()
      • next

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