protected static class AbstractDouble2ByteSortedMap.KeySetIterator
extends java.lang.Object
implements it.unimi.dsi.fastutil.doubles.DoubleBidirectionalIterator
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 it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Double2ByteMap.Entry> |
i |
| Constructor and Description |
|---|
KeySetIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Double2ByteMap.Entry> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious() |
double |
nextDouble() |
double |
previousDouble() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previous, skipprotected final it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Double2ByteMap.Entry> i
public KeySetIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Double2ByteMap.Entry> i)
public double nextDouble()
nextDouble in interface it.unimi.dsi.fastutil.doubles.DoubleIteratornextDouble in interface java.util.PrimitiveIterator.OfDoublepublic double previousDouble()
previousDouble in interface it.unimi.dsi.fastutil.doubles.DoubleBidirectionalIteratorpublic boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Double>public boolean hasPrevious()
hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Double>