Package org.agrona.collections
Class Long2ObjectHashMap.ValueIterator
java.lang.Object
org.agrona.collections.Long2ObjectHashMap.ValueIterator
- All Implemented Interfaces:
Iterator<V>
- Enclosing class:
- Long2ObjectHashMap<V>
Iterator over values.
-
Constructor Details
-
ValueIterator
public ValueIterator()Create a new instance.
-
-
Method Details
-
next
-
position
protected final int position()Position of the current element.- Returns:
- position of the current element.
-
remaining
public int remaining()Number of remaining elements.- Returns:
- number of remaining elements.
-
hasNext
public boolean hasNext() -
findNext
protected final void findNext()Find the next element.- Throws:
NoSuchElementException- if no more elements.
-
remove
public void remove()
-