Class Int2ObjectHashMap.KeyIterator
java.lang.Object
org.agrona.collections.Int2ObjectHashMap.KeyIterator
- Enclosing class:
Int2ObjectHashMap<V>
-
Constructor Details
-
KeyIterator
public KeyIterator()Create a new instance.
-
-
Method Details
-
next
-
nextInt
public int nextInt()Return next key without boxing.- Returns:
- next key.
-
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
-
findNext
protected final void findNext()Find the next element.- Throws:
NoSuchElementException- if no more elements.
-
remove
-