Package org.agrona.collections
Class Long2ObjectCache.EntryIterator
java.lang.Object
Long2ObjectCache<V>.org.agrona.collections.Long2ObjectCache.AbstractIterator<Map.Entry<Long,V>>
org.agrona.collections.Long2ObjectCache.EntryIterator
- Enclosing class:
Long2ObjectCache<V>
public final class Long2ObjectCache.EntryIterator
extends Long2ObjectCache<V>.AbstractIterator<Map.Entry<Long,V>>
implements Map.Entry<Long,V>
Iterator over entries which supports access to unboxed keys via
getLongKey()
.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.agrona.collections.Long2ObjectCache.AbstractIterator
findNext, hasNext, position, remove, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EntryIterator
public EntryIterator()
-
-
Method Details
-
next
-
getKey
-
getLongKey
public long getLongKey()Get key of the current entry.- Returns:
- key of the current entry.
-
getValue
-
setValue
-