Package org.roaringbitmap
Interface CharIterator
- All Superinterfaces:
Cloneable
- All Known Subinterfaces:
PeekableCharIterator
,PeekableCharRankIterator
- All Known Implementing Classes:
ArrayContainerCharIterator
,BitmapContainerCharIterator
,BitmapContainerCharRankIterator
,MappeableArrayContainerCharIterator
,MappeableBitmapContainerCharIterator
,MappeableRunContainerCharIterator
,RawArrayContainerCharIterator
,RawMappeableRunContainerCharIterator
,RawReverseArrayContainerCharIterator
,RawReverseMappeableRunContainerCharIterator
,ReverseArrayContainerCharIterator
,ReverseBitmapContainerCharIterator
,ReverseMappeableArrayContainerCharIterator
,ReverseMappeableBitmapContainerCharIterator
,ReverseMappeableRunContainerCharIterator
,ReverseRunContainerCharIterator
,RunContainerCharIterator
,RunContainerCharRankIterator
Iterator over short values.
-
Method Summary
-
Method Details
-
clone
CharIterator clone()Creates a copy of the iterator.- Returns:
- a clone of the current iterator
-
hasNext
boolean hasNext()- Returns:
- whether there is another value
-
next
char next()- Returns:
- next char value
-
nextAsInt
int nextAsInt()- Returns:
- next short value as int value (using the least significant 16 bits)
-
remove
void remove()If possible, remove the current value
-