Package it.unimi.dsi.fastutil.shorts
Class AbstractShort2LongSortedMap.ValuesIterator
java.lang.Object
it.unimi.dsi.fastutil.shorts.AbstractShort2LongSortedMap.ValuesIterator
- All Implemented Interfaces:
it.unimi.dsi.fastutil.longs.LongIterator,Iterator<Long>,PrimitiveIterator<Long,,LongConsumer> PrimitiveIterator.OfLong
- Enclosing class:
AbstractShort2LongSortedMap
protected static class AbstractShort2LongSortedMap.ValuesIterator
extends Object
implements it.unimi.dsi.fastutil.longs.LongIterator
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<Short2LongMap.Entry> -
Constructor Summary
ConstructorsConstructorDescriptionValuesIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Short2LongMap.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.longs.LongIterator
forEachRemaining, forEachRemaining, next, skipMethods inherited from interface java.util.PrimitiveIterator.OfLong
forEachRemaining
-
Field Details
-
i
-
-
Constructor Details
-
ValuesIterator
public ValuesIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Short2LongMap.Entry> i)
-
-
Method Details
-
nextLong
public long nextLong()- Specified by:
nextLongin interfaceit.unimi.dsi.fastutil.longs.LongIterator- Specified by:
nextLongin interfacePrimitiveIterator.OfLong
-
hasNext
public boolean hasNext()
-