protected static class AbstractInt2ReferenceSortedMap.KeySetIterator<V> extends AbstractIntBidirectionalIterator
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<Integer,V>> |
i |
| Constructor and Description |
|---|
AbstractInt2ReferenceSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Integer,V>> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
int |
nextInt()
Delegates to the corresponding generic method.
|
int |
previousInt()
Delegates to the corresponding generic method.
|
back, previousnext, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskipprotected final ObjectBidirectionalIterator<Map.Entry<Integer,V>> i
public AbstractInt2ReferenceSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Integer,V>> i)
public int nextInt()
AbstractIntIteratornextInt in interface IntIteratornextInt in class AbstractIntIteratorIterator.next()public int previousInt()
AbstractIntBidirectionalIteratorpreviousInt in interface IntBidirectionalIteratorpreviousInt in class AbstractIntBidirectionalIteratorListIterator.previous()public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()Copyright © 2013. All Rights Reserved.