public static class CharIterators.UnmodifiableListIterator extends java.lang.Object implements CharListIterator
| 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()
Returns the previous element as a primitive type.
|
int |
previousIndex() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, next, previous, remove, set, setback, skipforEachRemaining, forEachRemainingpublic UnmodifiableListIterator(CharListIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Character>hasNext in interface java.util.ListIterator<java.lang.Character>public boolean hasPrevious()
BidirectionalIteratorhasPrevious in interface BidirectionalIterator<java.lang.Character>hasPrevious in interface java.util.ListIterator<java.lang.Character>ListIterator.hasPrevious()public char nextChar()
CharIteratornextChar in interface CharIteratorIterator.next()public char previousChar()
CharBidirectionalIteratorpreviousChar in interface CharBidirectionalIteratorListIterator.previous()public int nextIndex()
nextIndex in interface java.util.ListIterator<java.lang.Character>public int previousIndex()
previousIndex in interface java.util.ListIterator<java.lang.Character>