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