protected static class AbstractChar2ShortSortedMap.KeySetIterator extends AbstractCharBidirectionalIterator
To provide an iterator on keys, just create an instance of this class using the corresponding iterator on entries.
| Modifier and Type | Field and Description |
|---|---|
protected ObjectBidirectionalIterator<Map.Entry<Character,Short>> |
i |
| Constructor and Description |
|---|
AbstractChar2ShortSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Character,Short>> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
char |
nextChar()
Delegates to the corresponding generic method.
|
char |
previousChar()
Delegates to the corresponding generic method.
|
back, previousnext, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskipprotected final ObjectBidirectionalIterator<Map.Entry<Character,Short>> i
public AbstractChar2ShortSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Character,Short>> i)
public char nextChar()
AbstractCharIteratornextChar in interface CharIteratornextChar in class AbstractCharIteratorIterator.next()public char previousChar()
AbstractCharBidirectionalIteratorpreviousChar in interface CharBidirectionalIteratorpreviousChar in class AbstractCharBidirectionalIteratorListIterator.previous()public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()Copyright © 2013. All Rights Reserved.