Class Object2LongHashMap.ValueIterator
java.lang.Object
org.agrona.collections.Object2LongHashMap.ValueIterator
- Enclosing class:
Object2LongHashMap<K>
Iterator over values providing unboxed access via
nextLong().-
Constructor Details
-
ValueIterator
public ValueIterator()Create a new instance.
-
-
Method Details
-
next
-
nextLong
public long nextLong()Get next value without boxing.- Returns:
- next value.
-
position
protected final int position()Position of the current element.- Returns:
- position of the element in the array.
-
hasNext
-
findNext
protected final void findNext()Find next element.- Throws:
NoSuchElementException- if no more elements.
-
remove
-