public static class CharIterators.UnmodifiableBidirectionalIterator extends Object implements CharBidirectionalIterator
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(CharBidirectionalIterator 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.
|
char |
previousChar()
Returns the previous element as a primitive type.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previous, skipforEachRemaining, forEachRemaining, nextpublic UnmodifiableBidirectionalIterator(CharBidirectionalIterator i)
public boolean hasPrevious()
BidirectionalIteratorhasPrevious in interface BidirectionalIterator<Character>ListIterator.hasPrevious()public char nextChar()
CharIteratornextChar in interface CharIteratorIterator.next()public char previousChar()
CharBidirectionalIteratorpreviousChar in interface CharBidirectionalIteratorListIterator.previous()