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