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 4.0. Copyright © 2004-2014 University of Glasgow