Class SparseBitSet.Iter

java.lang.Object
org.infinispan.protostream.impl.SparseBitSet.Iter
All Implemented Interfaces:
Iterator<Long>, PrimitiveIterator<Long, LongConsumer>, PrimitiveIterator.OfLong
Enclosing class:
SparseBitSet

private abstract class SparseBitSet.Iter extends Object implements PrimitiveIterator.OfLong
  • Field Details

    • wordIndex

      protected int wordIndex
    • bitIndex

      protected int bitIndex
    • lastWordIndex

      protected int lastWordIndex
    • lastBitIndex

      protected int lastBitIndex
    • startingBit

      protected final int startingBit
    • expectedModCount

      protected int expectedModCount
  • Constructor Details

    • Iter

      protected Iter(int wordIndex, int bitIndex)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<Long>
    • nextLong

      public long nextLong()
      Specified by:
      nextLong in interface PrimitiveIterator.OfLong
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<Long>
    • inRange

      protected abstract boolean inRange()
    • step

      protected abstract void step()
    • checkForCoModification

      protected void checkForCoModification()