protected static class AbstractReference2CharSortedMap.KeySetIterator<K> extends AbstractObjectBidirectionalIterator<K>
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<K,Character>> |
i |
| Constructor and Description |
|---|
AbstractReference2CharSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<K,Character>> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
K |
next() |
K |
previous()
Returns the previous element from the collection.
|
backremove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipprotected final ObjectBidirectionalIterator<Map.Entry<K,Character>> i
public AbstractReference2CharSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<K,Character>> i)
public K next()
public K previous()
BidirectionalIteratorListIterator.previous()public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()Copyright © 2013. All Rights Reserved.