Package org.roaringbitmap.art
Class ContainerIterator
- java.lang.Object
-
- org.roaringbitmap.art.ContainerIterator
-
-
Constructor Summary
Constructors Constructor Description ContainerIterator(Containers containers)construct a containers iterator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCurrentContainerIdx()booleanhasNext()Containernext()voidreplace(Container container)replace current container
-
-
-
Constructor Detail
-
ContainerIterator
public ContainerIterator(Containers containers)
construct a containers iterator- Parameters:
containers- the containers
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<Container>
-
getCurrentContainerIdx
public long getCurrentContainerIdx()
-
replace
public void replace(Container container)
replace current container- Parameters:
container- the fresh container which is to replace the current old one
-
-