protected static class AbstractInt2ByteSortedMap.KeySetIterator 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,Byte>> |
i |
| Constructor and Description |
|---|
AbstractInt2ByteSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Integer,Byte>> 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,Byte>> i
public AbstractInt2ByteSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Integer,Byte>> 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.