public static class CharIterators.UnmodifiableIterator extends AbstractCharIterator
| Constructor and Description |
|---|
UnmodifiableIterator(CharIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
char |
nextChar()
Returns the next element as a primitive type.
|
next, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic UnmodifiableIterator(CharIterator i)
public boolean hasNext()
public char nextChar()
AbstractCharIteratorThis implementation delegates to the corresponding generic method.
nextChar in interface CharIteratornextChar in class AbstractCharIteratorIterator.next()