protected static class AbstractFloat2IntSortedMap.KeySetIterator extends AbstractFloatBidirectionalIterator
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<Float,Integer>> |
i |
| Constructor and Description |
|---|
AbstractFloat2IntSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Float,Integer>> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
float |
nextFloat()
Delegates to the corresponding generic method.
|
float |
previousFloat()
Delegates to the corresponding generic method.
|
back, previousnext, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskipprotected final ObjectBidirectionalIterator<Map.Entry<Float,Integer>> i
public AbstractFloat2IntSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Float,Integer>> i)
public float nextFloat()
AbstractFloatIteratornextFloat in interface FloatIteratornextFloat in class AbstractFloatIteratorIterator.next()public float previousFloat()
AbstractFloatBidirectionalIteratorpreviousFloat in interface FloatBidirectionalIteratorpreviousFloat in class AbstractFloatBidirectionalIteratorListIterator.previous()public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()Copyright © 2013. All Rights Reserved.