Class Object2LongHashMap.ValueIterator
java.lang.Object
Object2LongHashMap<K>.org.agrona.collections.Object2LongHashMap.AbstractIterator<Long>
org.agrona.collections.Object2LongHashMap.ValueIterator
- Enclosing class:
Object2LongHashMap<K>
public final class Object2LongHashMap.ValueIterator
extends Object2LongHashMap<K>.AbstractIterator<Long>
Iterator over values providing unboxed access via
nextLong().-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object2LongHashMap.AbstractIterator
findNext, hasNext, position, remove, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
ValueIterator
public ValueIterator()Create a new instance.
-
-
Method Details
-
next
- Specified by:
nextin interfaceIterator<Long>- Specified by:
nextin classObject2LongHashMap<K>.AbstractIterator<Long>
-
nextLong
public long nextLong()Get next value without boxing.- Returns:
- next value.
-