Package org.infinispan.protostream.impl
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected intprotected final intprotected int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.PrimitiveIterator.OfLong
forEachRemaining, forEachRemaining, next
-
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() -
nextLong
public long nextLong()- Specified by:
nextLongin interfacePrimitiveIterator.OfLong
-
remove
public void remove() -
inRange
protected abstract boolean inRange() -
step
protected abstract void step() -
checkForCoModification
protected void checkForCoModification()
-