Package org.agrona.collections
Class Int2ObjectCache.EntryIterator
java.lang.Object
org.agrona.collections.Int2ObjectCache.EntryIterator
- Enclosing class:
- Int2ObjectCache<V>
Iterator over entries which supports access to unboxed keys via
getIntKey().-
Constructor Details
-
EntryIterator
public EntryIterator()Create a new instance.
-
-
Method Details
-
next
-
getKey
-
getIntKey
public int getIntKey()Get key of the current entry.- Returns:
- key of the current entry.
-
getValue
-
setValue
-
position
protected final int position()Position of the current element.- Returns:
- position of the current element.
-
hasNext
public boolean hasNext() -
findNext
protected final void findNext()Find next element. -
remove
public void remove()
-