- 所有超级接口:
Cloneable
- 所有已知子接口:
PeekableCharIterator,PeekableCharRankIterator
Iterator over short values.
-
方法概要
-
方法详细资料
-
clone
CharIterator clone()Creates a copy of the iterator.- 返回:
- a clone of the current iterator
-
hasNext
boolean hasNext()- 返回:
- whether there is another value
-
next
char next()- 返回:
- next char value
-
nextAsInt
int nextAsInt()- 返回:
- next short value as int value (using the least significant 16 bits)
-
remove
void remove()If possible, remove the current value
-