public class ArrayOfBlockIterablePosting extends ArrayOfBasicIterablePosting implements BlockPosting
doclens, frequenciesids, indiceEND_OF_LIST, EOL| Constructor and Description |
|---|
ArrayOfBlockIterablePosting(int[] _ids,
int[] _freqs,
int[] posCount,
int[] allpos) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getPositions()
Return positions of occurrences
|
int |
next()
Move this iterator to the next posting.
|
getDocumentLength, getFrequencyasWritablePosting, clone, close, endOfPostings, getId, reset, setIdnextequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasWritablePosting, getDocumentLength, getFrequency, getId, setIdpublic ArrayOfBlockIterablePosting(int[] _ids,
int[] _freqs,
int[] posCount,
int[] allpos)
public int[] getPositions()
BlockPostinggetPositions in interface BlockPostingpublic int next()
throws IOException
ArrayOfIdsIterablePostingnext in interface IterablePostingnext in class ArrayOfIdsIterablePostingIOExceptionTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow