public static class CharIterators.UnmodifiableListIterator extends AbstractCharListIterator
| Constructor and Description |
|---|
UnmodifiableListIterator(CharListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
char |
nextChar()
Returns the next element as a primitive type.
|
int |
nextIndex() |
char |
previousChar()
This implementation delegates to
AbstractCharBidirectionalIterator.previous(). |
int |
previousIndex() |
add, add, set, setback, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnext, previous, removeback, previousskipskipforEachRemainingpublic UnmodifiableListIterator(CharListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public char nextChar()
AbstractCharIteratorThis implementation delegates to the corresponding generic method.
nextChar in interface CharIteratornextChar in class AbstractCharIteratorIterator.next()public char previousChar()
AbstractCharBidirectionalIterator
This implementation delegates to AbstractCharBidirectionalIterator.previous().
previousChar in interface CharBidirectionalIteratorpreviousChar in class AbstractCharBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()