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