public static class CharIterators.UnmodifiableBidirectionalIterator extends AbstractCharBidirectionalIterator
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(CharBidirectionalIterator 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.
|
java.lang.Character |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
previousChar()
Delegates to the corresponding generic method.
|
backremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskippublic UnmodifiableBidirectionalIterator(CharBidirectionalIterator 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()@Deprecated public java.lang.Character next()
next in interface java.util.Iterator<java.lang.Character>next in class AbstractCharIterator@Deprecated public java.lang.Character previous()
previous in interface BidirectionalIterator<java.lang.Character>previous in class AbstractCharBidirectionalIteratorListIterator.previous()