protected static class AbstractShort2BooleanSortedMap.KeySetIterator extends AbstractShortBidirectionalIterator
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<Short,Boolean>> |
i |
| Constructor and Description |
|---|
AbstractShort2BooleanSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Short,Boolean>> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
short |
nextShort()
Delegates to the corresponding generic method.
|
short |
previousShort()
Delegates to the corresponding generic method.
|
back, previousnext, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskipprotected final ObjectBidirectionalIterator<Map.Entry<Short,Boolean>> i
public AbstractShort2BooleanSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Short,Boolean>> i)
public short nextShort()
AbstractShortIteratornextShort in interface ShortIteratornextShort in class AbstractShortIteratorIterator.next()public short previousShort()
AbstractShortBidirectionalIteratorpreviousShort in interface ShortBidirectionalIteratorpreviousShort in class AbstractShortBidirectionalIteratorListIterator.previous()public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()Copyright © 2013. All Rights Reserved.