|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IterablePosting
An interface that allows a list of postings to be iterated over
Field Summary | |
---|---|
static int |
EOL
Value which denotes that the end of the posting list has been reached |
Method Summary | |
---|---|
boolean |
endOfPostings()
Status method to see if this posting list iterator has been finished |
int |
next()
Move this iterator to the next posting. |
int |
next(int targetId)
Move this iterator to the posting with specified id, or next posting after that. |
Methods inherited from interface org.terrier.structures.postings.Posting |
---|
asWritablePosting, getDocumentLength, getFrequency, getId, setId |
Methods inherited from interface java.io.Closeable |
---|
close |
Field Detail |
---|
static final int EOL
Method Detail |
---|
int next() throws java.io.IOException
java.io.IOException
int next(int targetId) throws java.io.IOException
targetId
- id of the posting to find in this postingn list.
java.io.IOException
boolean endOfPostings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |