Package org.roaringbitmap.art
Class LeafNodeIterator
java.lang.Object
org.roaringbitmap.art.LeafNodeIterator
-
Constructor Summary
ConstructorsConstructorDescriptionLeafNodeIterator
(Art art, boolean reverse, Containers containers) constructorLeafNodeIterator
(Art art, boolean reverse, Containers containers, long from) constructorLeafNodeIterator
(Art art, Containers containers) constructor -
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
-
Constructor Details
-
LeafNodeIterator
constructor- Parameters:
art
- the ARTcontainers
- the containers
-
LeafNodeIterator
constructor- Parameters:
art
- the ARTreverse
- false: ascending order,true: the descending ordercontainers
- the containers
-
LeafNodeIterator
constructor- Parameters:
art
- the ARTreverse
- false: ascending order,true: the descending ordercontainers
- the containersfrom
- starting upper/lower bound
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
seek
public void seek(long boundval) Move this iterator to the leaf that contains `boundval`. If no leaf contains `boundval`, then move to the next largest (on forward iterators or next smallest (on backwards iterators). -
peekNext
Return the next leaf without advancing the iterator.- Returns:
- the next leaf
-