public static class CharIterators.UnmodifiableIterator extends AbstractCharIterator
Constructor and Description |
---|
UnmodifiableIterator(CharIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.lang.Character |
next()
Delegates to the corresponding type-specific method.
|
char |
nextChar()
Delegates to the corresponding generic method.
|
remove, skip
public UnmodifiableIterator(CharIterator i)
public boolean hasNext()
public char nextChar()
AbstractCharIterator
nextChar
in interface CharIterator
nextChar
in class AbstractCharIterator
Iterator.next()
public java.lang.Character next()
AbstractCharIterator
next
in interface java.util.Iterator<java.lang.Character>
next
in class AbstractCharIterator