Package it.unimi.dsi.fastutil.objects
Class AbstractReference2LongSortedMap.ValuesIterator<K>
java.lang.Object
it.unimi.dsi.fastutil.objects.AbstractReference2LongSortedMap.ValuesIterator<K>
- All Implemented Interfaces:
it.unimi.dsi.fastutil.longs.LongIterator,Iterator<Long>,PrimitiveIterator<Long,,LongConsumer> PrimitiveIterator.OfLong
- Enclosing class:
AbstractReference2LongSortedMap<K>
protected static class AbstractReference2LongSortedMap.ValuesIterator<K>
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<Reference2LongMap.Entry<K>> -
Constructor Summary
ConstructorsConstructorDescriptionValuesIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Reference2LongMap.Entry<K>> 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
protected final it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Reference2LongMap.Entry<K>> i
-
-
Constructor Details
-
ValuesIterator
public ValuesIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Reference2LongMap.Entry<K>> 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()
-