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 Long2ObjectCache.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
-
getLongKey
public long getLongKey()Get key of the current entry.- Returns:
- key of the current entry.
-
getValue
-
setValue
-