public class ArrayOfBlockIterablePosting extends ArrayOfBasicIterablePosting implements BlockPosting
doclens, frequencies
ids, indice
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, close, endOfPostings, getId, setId
next
clone, 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 Platform4.1. Copyright © 2004-2015, University of Glasgow