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 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
nextLong
public long nextLong()- Specified by:
nextLongin interfacePrimitiveIterator.OfLong
-
remove
-
inRange
protected abstract boolean inRange() -
step
protected abstract void step() -
checkForCoModification
protected void checkForCoModification()
-