Class Long2LongHashMap.EntryIterator
java.lang.Object
org.agrona.collections.Long2LongHashMap.AbstractIterator
org.agrona.collections.Long2LongHashMap.EntryIterator
- Enclosing class:
Long2LongHashMap
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class Long2LongHashMap.AbstractIterator
isPositionValid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Long2LongHashMap.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
-
getLongKey
public long getLongKey()Returns the key of the current entry.- Returns:
- the key.
-
getValue
-
getLongValue
public long getLongValue()Returns the value of the current entry.- Returns:
- the value.
-
setValue
-
setValue
public long setValue(long value) Sets the value of the current entry.- Parameters:
value- to be set.- Returns:
- previous value of the entry.
-
next
-
allocateDuplicateEntry
-
hashCode
-
equals
-