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 PeekableIntRankIterator
clone()
Creates a copy of the iterator.int
peekNextRank()
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:PeekableIntIterator
Creates a copy of the iterator.- Specified by:
clone
in interfaceIntIterator
- Specified by:
clone
in interfacePeekableIntIterator
- Returns:
- a clone of the current iterator
-
-