java.lang.Object
org.apache.lucene.util.hppc.IntIntHashMap.AbstractIterator<IntIntHashMap.IntCursor>
org.apache.lucene.util.hppc.IntIntHashMap.KeysIterator
- All Implemented Interfaces:
Iterator<IntIntHashMap.IntCursor>
- Enclosing class:
IntIntHashMap
private final class IntIntHashMap.KeysIterator
extends IntIntHashMap.AbstractIterator<IntIntHashMap.IntCursor>
An iterator over the set of assigned keys.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntIntHashMap.IntCursor
private final int
private int
private int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.util.hppc.IntIntHashMap.AbstractIterator
done, hasNext, next, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
cursor
-
increment
private final int increment -
index
private int index -
slot
private int slot
-
-
Constructor Details
-
KeysIterator
public KeysIterator()
-
-
Method Details
-
fetch
Description copied from class:IntIntHashMap.AbstractIterator
Fetch next element. The implementation must returnIntIntHashMap.AbstractIterator.done()
when all elements have been fetched.- Specified by:
fetch
in classIntIntHashMap.AbstractIterator<IntIntHashMap.IntCursor>
- Returns:
- Returns the next value for the iterator or chain-calls
IntIntHashMap.AbstractIterator.done()
.
-