Class Int2ObjectCache.EntryIterator
java.lang.Object
Int2ObjectCache<V>.org.agrona.collections.Int2ObjectCache.AbstractIterator<Map.Entry<Integer,V>>
org.agrona.collections.Int2ObjectCache.EntryIterator
- Enclosing class:
Int2ObjectCache<V>
public final class Int2ObjectCache.EntryIterator
extends Int2ObjectCache<V>.AbstractIterator<Map.Entry<Integer,V>>
implements Map.Entry<Integer,V>
Iterator over entries which supports access to unboxed keys via
getIntKey().-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Int2ObjectCache.AbstractIterator
findNext, hasNext, position, remove, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
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
-