Class Long2LongHashMap.KeyIterator
java.lang.Object
org.agrona.collections.Long2LongHashMap.AbstractIterator
org.agrona.collections.Long2LongHashMap.KeyIterator
- Enclosing class:
Long2LongHashMap
public final class Long2LongHashMap.KeyIterator
extends Long2LongHashMap.AbstractIterator
implements Iterator<Long>
Iterator over keys which supports access to unboxed keys via
nextValue().-
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, hasNext, remove
-
Constructor Details
-
KeyIterator
public KeyIterator()Create a new instance.
-
-
Method Details
-
next
-
nextValue
public long nextValue()Return next key.- Returns:
- next key.
-