public static class CharIterators.UnmodifiableIterator extends AbstractCharIterator
Constructor and Description |
---|
UnmodifiableIterator(CharIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Character |
next()
Delegates to the corresponding type-specific method.
|
char |
nextChar()
Delegates to the corresponding generic method.
|
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public UnmodifiableIterator(CharIterator i)
public boolean hasNext()
public char nextChar()
AbstractCharIterator
nextChar
in interface CharIterator
nextChar
in class AbstractCharIterator
Iterator.next()
public Character next()
AbstractCharIterator
next
in interface Iterator<Character>
next
in class AbstractCharIterator