Class Long2ObjectHashMap.EntryIterator
java.lang.Object
Long2ObjectHashMap<V>.org.agrona.collections.Long2ObjectHashMap.AbstractIterator<Map.Entry<Long,V>>
org.agrona.collections.Long2ObjectHashMap.EntryIterator
- Enclosing class:
Long2ObjectHashMap<V>
public final class Long2ObjectHashMap.EntryIterator
extends Long2ObjectHashMap<V>.AbstractIterator<Map.Entry<Long,V>>
implements Map.Entry<Long,V>
Iterator over entries which supports access to unboxed keys via
getLongKey().-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class Long2ObjectHashMap.AbstractIterator
isPositionValid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Long2ObjectHashMap.AbstractIterator
findNext, hasNext, position, remaining, 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
-
allocateDuplicateEntry
-
getKey
-
getLongKey
public long getLongKey()Get key without boxing.- Returns:
- key.
-
getValue
-
setValue
-