Package org.roaringbitmap
Interface PeekableIntRankIterator
-
- All Superinterfaces:
Cloneable,IntIterator,PeekableIntIterator
public interface PeekableIntRankIterator extends PeekableIntIterator
PeekableIntIterator that calculates the next value rank during iteration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PeekableIntRankIteratorclone()Creates a copy of the iterator.intpeekNextRank()Look at rank of the next value without advancing-
Methods inherited from interface org.roaringbitmap.IntIterator
hasNext, next
-
Methods inherited from interface org.roaringbitmap.PeekableIntIterator
advanceIfNeeded, peekNext
-
-
-
-
Method Detail
-
peekNextRank
int peekNextRank()
Look at rank of the next value without advancing- Returns:
- rank of next value
-
clone
PeekableIntRankIterator clone()
Description copied from interface:PeekableIntIteratorCreates a copy of the iterator.- Specified by:
clonein interfaceIntIterator- Specified by:
clonein interfacePeekableIntIterator- Returns:
- a clone of the current iterator
-
-