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