protected static class AbstractObject2DoubleSortedMap.ValuesIterator<K> extends Object implements DoubleIterator
To provide an iterator on values, just create an instance of this class using the corresponding iterator on entries.
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Modifier and Type | Field and Description |
|---|---|
protected ObjectBidirectionalIterator<Object2DoubleMap.Entry<K>> |
i |
| Constructor and Description |
|---|
ValuesIterator(ObjectBidirectionalIterator<Object2DoubleMap.Entry<K>> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
double |
nextDouble()
Returns the next element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, next, skipforEachRemainingprotected final ObjectBidirectionalIterator<Object2DoubleMap.Entry<K>> i
public ValuesIterator(ObjectBidirectionalIterator<Object2DoubleMap.Entry<K>> i)
public double nextDouble()
DoubleIteratornextDouble in interface DoubleIteratornextDouble in interface PrimitiveIterator.OfDoubleIterator.next()Copyright © 2020. All rights reserved.