Module org.apache.lucene.core
Package org.apache.lucene.util.hppc
Class IntIntHashMap.ValuesIterator
- java.lang.Object
-
- org.apache.lucene.util.hppc.IntIntHashMap.AbstractIterator<IntIntHashMap.IntCursor>
-
- org.apache.lucene.util.hppc.IntIntHashMap.ValuesIterator
-
- All Implemented Interfaces:
java.util.Iterator<IntIntHashMap.IntCursor>
- Enclosing class:
- IntIntHashMap
private final class IntIntHashMap.ValuesIterator extends IntIntHashMap.AbstractIterator<IntIntHashMap.IntCursor>
An iterator over the set of assigned values.
-
-
Field Summary
Fields Modifier and Type Field Description private IntIntHashMap.IntCursor
cursor
private int
increment
private int
index
private int
slot
-
Constructor Summary
Constructors Constructor Description ValuesIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IntIntHashMap.IntCursor
fetch()
Fetch next element.-
Methods inherited from class org.apache.lucene.util.hppc.IntIntHashMap.AbstractIterator
done, hasNext, next, remove
-
-
-
-
Field Detail
-
cursor
private final IntIntHashMap.IntCursor cursor
-
increment
private final int increment
-
index
private int index
-
slot
private int slot
-
-
Method Detail
-
fetch
protected IntIntHashMap.IntCursor 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()
.
-
-