Package org.agrona.collections
Class Int2IntHashMap.KeyIterator
- java.lang.Object
-
- org.agrona.collections.Int2IntHashMap.AbstractIterator
-
- org.agrona.collections.Int2IntHashMap.KeyIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.Integer>
- Enclosing class:
- Int2IntHashMap
public final class Int2IntHashMap.KeyIterator extends Int2IntHashMap.AbstractIterator implements java.util.Iterator<java.lang.Integer>
Iterator over keys which supports access to unboxed keys vianextValue()
.
-
-
Field Summary
-
Fields inherited from class org.agrona.collections.Int2IntHashMap.AbstractIterator
isPositionValid
-
-
Constructor Summary
Constructors Constructor Description KeyIterator()
Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
next()
int
nextValue()
Return next key.-
Methods inherited from class org.agrona.collections.Int2IntHashMap.AbstractIterator
findNext, hasNext, keyPosition, remaining, remove, reset
-
-