protected static class AbstractLong2ByteSortedMap.KeySetIterator extends AbstractLongBidirectionalIterator
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<Long,Byte>> |
i |
| Constructor and Description |
|---|
AbstractLong2ByteSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Long,Byte>> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
long |
nextLong()
Delegates to the corresponding generic method.
|
long |
previousLong()
Delegates to the corresponding generic method.
|
back, previousnext, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskipprotected final ObjectBidirectionalIterator<Map.Entry<Long,Byte>> i
public AbstractLong2ByteSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Long,Byte>> i)
public long nextLong()
AbstractLongIteratornextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()public long previousLong()
AbstractLongBidirectionalIteratorpreviousLong in interface LongBidirectionalIteratorpreviousLong in class AbstractLongBidirectionalIteratorListIterator.previous()public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()Copyright © 2013. All Rights Reserved.