- 所有超级接口:
CharIterator,Cloneable
- 所有已知子接口:
PeekableCharRankIterator
Simple extension to the CharIterator interface
-
方法概要
修饰符和类型方法说明voidadvanceIfNeeded(char thresholdVal) If needed, when iterating forward through the chars it will advance as long as the next value is smaller than val (as an unsigned short) when iterating in reverse through the chars it will advance as long as the next value is larger than val (as an unsigned short)clone()Creates a copy of the iterator.charpeekNext()Look at the next value without advancing从接口继承的方法 org.bitlap.roaringbitmap.CharIterator
hasNext, next, nextAsInt, remove
-
方法详细资料
-
advanceIfNeeded
void advanceIfNeeded(char thresholdVal) If needed, when iterating forward through the chars it will advance as long as the next value is smaller than val (as an unsigned short) when iterating in reverse through the chars it will advance as long as the next value is larger than val (as an unsigned short)- 参数:
thresholdVal- threshold
-
peekNext
char peekNext()Look at the next value without advancing- 返回:
- next value
-
clone
PeekableCharIterator clone()Creates a copy of the iterator.- 指定者:
clone在接口中CharIterator- 返回:
- a clone of the current iterator
-