Package org.roaringbitmap.art
Class ContainerIterator
java.lang.Object
org.roaringbitmap.art.ContainerIterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private Containers
private Container
private int
private Container[]
private int
private boolean
private int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
containers
-
containerArrIte
-
currentSecondLevelArr
-
currentSecondLevelArrSize
private int currentSecondLevelArrSize -
currentSecondLevelArrIdx
private int currentSecondLevelArrIdx -
currentFistLevelArrIdx
private int currentFistLevelArrIdx -
currentSecondLevelArrIteOver
private boolean currentSecondLevelArrIteOver -
currentContainer
-
consumedCurrent
private boolean consumedCurrent
-
-
Constructor Details
-
ContainerIterator
construct a containers iterator- Parameters:
containers
- the containers
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
getCurrentContainerIdx
public long getCurrentContainerIdx() -
replace
replace current container- Parameters:
container
- the fresh container which is to replace the current old one
-