Module org.apache.lucene.core
Package org.apache.lucene.internal.hppc
Class IntObjectHashMap.EntryIterator
- java.lang.Object
-
- org.apache.lucene.internal.hppc.AbstractIterator<IntObjectHashMap.IntObjectCursor<VType>>
-
- org.apache.lucene.internal.hppc.IntObjectHashMap.EntryIterator
-
- All Implemented Interfaces:
java.util.Iterator<IntObjectHashMap.IntObjectCursor<VType>>
- Enclosing class:
- IntObjectHashMap<VType>
private final class IntObjectHashMap.EntryIterator extends AbstractIterator<IntObjectHashMap.IntObjectCursor<VType>>
An iterator implementation forIntObjectHashMap.iterator()
.
-
-
Constructor Summary
Constructors Constructor Description EntryIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IntObjectHashMap.IntObjectCursor<VType>
fetch()
Fetch next element.-
Methods inherited from class org.apache.lucene.internal.hppc.AbstractIterator
done, hasNext, next, remove
-
-
-
-
Field Detail
-
cursor
private final IntObjectHashMap.IntObjectCursor<VType> cursor
-
increment
private final int increment
-
index
private int index
-
slot
private int slot
-
-
Method Detail
-
fetch
protected IntObjectHashMap.IntObjectCursor<VType> fetch()
Description copied from class:AbstractIterator
Fetch next element. The implementation must returnAbstractIterator.done()
when all elements have been fetched.- Specified by:
fetch
in classAbstractIterator<IntObjectHashMap.IntObjectCursor<VType>>
- Returns:
- Returns the next value for the iterator or chain-calls
AbstractIterator.done()
.
-
-