Package it.unimi.dsi.fastutil.shorts
Class AbstractShort2DoubleSortedMap.ValuesIterator
java.lang.Object
it.unimi.dsi.fastutil.shorts.AbstractShort2DoubleSortedMap.ValuesIterator
- All Implemented Interfaces:
it.unimi.dsi.fastutil.doubles.DoubleIterator,Iterator<Double>,PrimitiveIterator<Double,,DoubleConsumer> PrimitiveIterator.OfDouble
- Enclosing class:
AbstractShort2DoubleSortedMap
protected static class AbstractShort2DoubleSortedMap.ValuesIterator
extends Object
implements it.unimi.dsi.fastutil.doubles.DoubleIterator
A wrapper exhibiting a map iterator as an iterator on values.
To provide an iterator on values, just create an instance of this class using the corresponding iterator on entries.
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Short2DoubleMap.Entry> -
Constructor Summary
ConstructorsConstructorDescriptionValuesIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Short2DoubleMap.Entry> i) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterator
forEachRemaining, forEachRemaining, next, skipMethods inherited from interface java.util.PrimitiveIterator.OfDouble
forEachRemaining
-
Field Details
-
i
-
-
Constructor Details
-
ValuesIterator
public ValuesIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Short2DoubleMap.Entry> i)
-
-
Method Details
-
nextDouble
public double nextDouble()- Specified by:
nextDoublein interfaceit.unimi.dsi.fastutil.doubles.DoubleIterator- Specified by:
nextDoublein interfacePrimitiveIterator.OfDouble
-
hasNext
public boolean hasNext()
-