protected static class AbstractByte2DoubleSortedMap.ValuesIterator 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<Byte2DoubleMap.Entry> |
i |
| Constructor and Description |
|---|
ValuesIterator(ObjectBidirectionalIterator<Byte2DoubleMap.Entry> 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<Byte2DoubleMap.Entry> i
public ValuesIterator(ObjectBidirectionalIterator<Byte2DoubleMap.Entry> i)
public double nextDouble()
DoubleIteratornextDouble in interface DoubleIteratornextDouble in interface PrimitiveIterator.OfDoubleIterator.next()Copyright © 2020. All rights reserved.