public class ArrayOfBlockIterablePosting extends ArrayOfBasicIterablePosting implements BlockPosting
doclens, frequencies
ids, indice
END_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, getFrequency
asWritablePosting, clone, close, endOfPostings, getId, reset, setId
next
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asWritablePosting, getDocumentLength, getFrequency, getId, setId
public ArrayOfBlockIterablePosting(int[] _ids, int[] _freqs, int[] posCount, int[] allpos)
public int[] getPositions()
BlockPosting
getPositions
in interface BlockPosting
public int next() throws IOException
ArrayOfIdsIterablePosting
next
in interface IterablePosting
next
in class ArrayOfIdsIterablePosting
IOException
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow