Package org.roaringbitmap
Interface PeekableCharRankIterator
-
- All Superinterfaces:
CharIterator,java.lang.Cloneable,PeekableCharIterator
public interface PeekableCharRankIterator extends PeekableCharIterator
PeekableCharIterator that calculates the next value rank during iteration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PeekableCharRankIteratorclone()Creates a copy of the iterator.intpeekNextRank()peek in-container rank of the next value Uses integer because internal representation of rank is int and in-container rank lies in range 1-65536-
Methods inherited from interface org.roaringbitmap.CharIterator
hasNext, next, nextAsInt, remove
-
Methods inherited from interface org.roaringbitmap.PeekableCharIterator
advanceIfNeeded, peekNext
-
-
-
-
Method Detail
-
peekNextRank
int peekNextRank()
peek in-container rank of the next value Uses integer because internal representation of rank is int and in-container rank lies in range 1-65536- Returns:
- rank of the next value
-
clone
PeekableCharRankIterator clone()
Description copied from interface:PeekableCharIteratorCreates a copy of the iterator.- Specified by:
clonein interfaceCharIterator- Specified by:
clonein interfacePeekableCharIterator- Returns:
- a clone of the current iterator
-
-