Class Int2IntHashMap.EntryIterator
java.lang.Object
org.agrona.collections.Int2IntHashMap.AbstractIterator
org.agrona.collections.Int2IntHashMap.EntryIterator
- Enclosing class:
Int2IntHashMap
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class Int2IntHashMap.AbstractIterator
isPositionValid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Int2IntHashMap.AbstractIterator
findNext, hasNext, keyPosition, remaining, remove, resetMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, hasNext, remove
-
Constructor Details
-
EntryIterator
public EntryIterator()Create a new instance.
-
-
Method Details
-
getKey
-
getIntKey
public int getIntKey()Returns the key of the current entry.- Returns:
- the key.
-
getValue
-
getIntValue
public int getIntValue()Returns the value of the current entry.- Returns:
- the value.
-
setValue
-
setValue
public int setValue(int value) Sets the value of the current entry.- Parameters:
value- to be set.- Returns:
- previous value of the entry.
-
next
-
allocateDuplicateEntry
-
hashCode
-
equals
-