public class MemoryInvertedIndex.InvertedIterator extends Object implements PostingIndexInputStream
| Constructor and Description | 
|---|
| MemoryInvertedIndex.InvertedIterator() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| Pointer | getCurrentPointer()Returns the pointer associated with the current postings being accessed | 
| int | getEntriesSkipped()Returns the number of entries that were skipped during
 a call to the next(). | 
| IterablePosting | getNextPostings()Return the next IterablePosting object, or null if none defined. | 
| int | getNumberOfCurrentPostings()Returns the number of postings in the current IterablePosting object | 
| boolean | hasNext() | 
| IterablePosting | next() | 
| void | print()Renders the entire structure to stdout | 
| void | remove() | 
public MemoryInvertedIndex.InvertedIterator()
public boolean hasNext()
hasNext in interface Iterator<IterablePosting>public IterablePosting next()
next in interface Iterator<IterablePosting>public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void remove()
remove in interface Iterator<IterablePosting>public IterablePosting getNextPostings() throws IOException
PostingIndexInputStreamgetNextPostings in interface PostingIndexInputStreamIOException - if an I/O problem occurs.public int getNumberOfCurrentPostings()
PostingIndexInputStreamgetNumberOfCurrentPostings in interface PostingIndexInputStreampublic Pointer getCurrentPointer()
PostingIndexInputStreamgetCurrentPointer in interface PostingIndexInputStreampublic int getEntriesSkipped()
PostingIndexInputStreamgetEntriesSkipped in interface PostingIndexInputStreampublic void print()
PostingIndexInputStreamprint in interface PostingIndexInputStreamTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow