java.lang.Object
org.apache.lucene.util.hppc.IntIntHashMap.AbstractIterator<IntIntHashMap.IntIntCursor>
org.apache.lucene.util.hppc.IntIntHashMap.EntryIterator
- All Implemented Interfaces:
Iterator<IntIntHashMap.IntIntCursor>
- Enclosing class:
- IntIntHashMap
private final class IntIntHashMap.EntryIterator
extends IntIntHashMap.AbstractIterator<IntIntHashMap.IntIntCursor>
An iterator implementation for
IntIntHashMap.iterator().-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntIntHashMap.IntIntCursorprivate final intprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IntIntHashMap.IntIntCursorfetch()Fetch next element.Methods inherited from class org.apache.lucene.util.hppc.IntIntHashMap.AbstractIterator
done, hasNext, next, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
cursor
-
increment
private final int increment -
index
private int index -
slot
private int slot
-
-
Constructor Details
-
EntryIterator
public EntryIterator()
-
-
Method Details
-
fetch
Description copied from class:IntIntHashMap.AbstractIteratorFetch next element. The implementation must returnIntIntHashMap.AbstractIterator.done()when all elements have been fetched.- Specified by:
fetchin classIntIntHashMap.AbstractIterator<IntIntHashMap.IntIntCursor>- Returns:
- Returns the next value for the iterator or chain-calls
IntIntHashMap.AbstractIterator.done().
-