- All Superinterfaces:
Cloneable
- All Known Subinterfaces:
PeekableCharIterator
,PeekableCharRankIterator
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
-