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.
|
java.lang.Character |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
nextChar()
Delegates to the corresponding generic method.
|
int |
nextIndex() |
java.lang.Character |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
previousChar()
Delegates to the corresponding generic method.
|
int |
previousIndex() |
add, add, set, setbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackskipskippublic UnmodifiableListIterator(CharListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public char nextChar()
AbstractCharIteratornextChar in interface CharIteratornextChar in class AbstractCharIteratorIterator.next()public char previousChar()
AbstractCharBidirectionalIteratorpreviousChar in interface CharBidirectionalIteratorpreviousChar in class AbstractCharBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()
@Deprecated public java.lang.Character next()
next in interface java.util.Iterator<java.lang.Character>next in interface java.util.ListIterator<java.lang.Character>next in class AbstractCharIterator@Deprecated public java.lang.Character previous()
previous in interface BidirectionalIterator<java.lang.Character>previous in interface java.util.ListIterator<java.lang.Character>previous in class AbstractCharBidirectionalIteratorListIterator.previous()