Package org.agrona.collections
Class Object2IntHashMap.ValueIterator
java.lang.Object
Object2IntHashMap<K>.org.agrona.collections.Object2IntHashMap.AbstractIterator<Integer>
org.agrona.collections.Object2IntHashMap.ValueIterator
- Enclosing class:
Object2IntHashMap<K>
public final class Object2IntHashMap.ValueIterator
extends Object2IntHashMap<K>.AbstractIterator<Integer>
Iterator over values providing unboxed access via
nextInt()
.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.agrona.collections.Object2IntHashMap.AbstractIterator
findNext, hasNext, position, remove, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ValueIterator
public ValueIterator()
-
-
Method Details
-
next
- Specified by:
next
in interfaceIterator<Integer>
- Specified by:
next
in classObject2IntHashMap<K>.AbstractIterator<Integer>
-
nextInt
public int nextInt()Get next value without boxing.- Returns:
- next value.
-