Package org.terrier.realtime.memory
Class MemoryDocumentIndex.DocumentIterator
- java.lang.Object
-
- org.terrier.realtime.memory.MemoryDocumentIndex.DocumentIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.util.Map.Entry<java.lang.Integer,DocumentIndexEntry>>
- Enclosing class:
- MemoryDocumentIndex
public class MemoryDocumentIndex.DocumentIterator extends java.lang.Object implements java.util.Iterator<java.util.Map.Entry<java.lang.Integer,DocumentIndexEntry>>
Document index iterator.
-
-
Constructor Summary
Constructors Constructor Description DocumentIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.util.Map.Entry<java.lang.Integer,DocumentIndexEntry>
next()
void
remove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<java.util.Map.Entry<java.lang.Integer,DocumentIndexEntry>>
-
next
public java.util.Map.Entry<java.lang.Integer,DocumentIndexEntry> next()
- Specified by:
next
in interfacejava.util.Iterator<java.util.Map.Entry<java.lang.Integer,DocumentIndexEntry>>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<java.util.Map.Entry<java.lang.Integer,DocumentIndexEntry>>
-
-