Class Int2IntHashMap.KeyIterator
java.lang.Object
org.agrona.collections.Int2IntHashMap.AbstractIterator
org.agrona.collections.Int2IntHashMap.KeyIterator
- Enclosing class:
Int2IntHashMap
public final class Int2IntHashMap.KeyIterator
extends Int2IntHashMap.AbstractIterator
implements Iterator<Integer>
Iterator over keys which supports access to unboxed keys via
nextValue().-
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, 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 int nextValue()Return next key.- Returns:
- next key.
-