Module org.apache.lucene.core
Package org.apache.lucene.internal.hppc
Class CharObjectHashMap.EntryIterator
- java.lang.Object
-
- org.apache.lucene.internal.hppc.AbstractIterator<CharObjectHashMap.CharObjectCursor<VType>>
-
- org.apache.lucene.internal.hppc.CharObjectHashMap.EntryIterator
-
- All Implemented Interfaces:
java.util.Iterator<CharObjectHashMap.CharObjectCursor<VType>>
- Enclosing class:
- CharObjectHashMap<VType>
private final class CharObjectHashMap.EntryIterator extends AbstractIterator<CharObjectHashMap.CharObjectCursor<VType>>
An iterator implementation forCharObjectHashMap.iterator()
.
-
-
Constructor Summary
Constructors Constructor Description EntryIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CharObjectHashMap.CharObjectCursor<VType>
fetch()
Fetch next element.-
Methods inherited from class org.apache.lucene.internal.hppc.AbstractIterator
done, hasNext, next, remove
-
-
-
-
Field Detail
-
cursor
private final CharObjectHashMap.CharObjectCursor<VType> cursor
-
increment
private final int increment
-
index
private int index
-
slot
private int slot
-
-
Method Detail
-
fetch
protected CharObjectHashMap.CharObjectCursor<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<CharObjectHashMap.CharObjectCursor<VType>>
- Returns:
- Returns the next value for the iterator or chain-calls
AbstractIterator.done()
.
-
-