Package org.agrona.collections
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 org.agrona.collections.Long2ObjectHashMap.AbstractIterator
isPositionValid
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.agrona.collections.Long2ObjectHashMap.AbstractIterator
findNext, hasNext, position, remaining, 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
-
allocateDuplicateEntry
-
getKey
-
getLongKey
public long getLongKey()Get key without boxing.- Returns:
- key.
-
getValue
-
setValue
-