Package org.roaringbitmap
Interface CharIterator
-
- All Superinterfaces:
java.lang.Cloneable
- All Known Subinterfaces:
PeekableCharIterator
,PeekableCharRankIterator
public interface CharIterator extends java.lang.Cloneable
Iterator over short values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CharIterator
clone()
Creates a copy of the iterator.boolean
hasNext()
char
next()
int
nextAsInt()
void
remove()
If possible, remove the current value
-
-
-
Method Detail
-
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
-
-