|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.postings.IterablePostingImpl
public abstract class IterablePostingImpl
A base implementation of an IterablePosting, that provides a base implementation of next(int) method.
Field Summary |
---|
Fields inherited from interface org.terrier.structures.postings.IterablePosting |
---|
EOL |
Constructor Summary | |
---|---|
IterablePostingImpl()
|
Method Summary | |
---|---|
int |
next(int target)
This implementation of next(int) which uses next() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.terrier.structures.postings.IterablePosting |
---|
endOfPostings, next |
Methods inherited from interface org.terrier.structures.postings.Posting |
---|
asWritablePosting, getDocumentLength, getFrequency, getId, setId |
Methods inherited from interface java.io.Closeable |
---|
close |
Constructor Detail |
---|
public IterablePostingImpl()
Method Detail |
---|
public int next(int target) throws java.io.IOException
next
in interface IterablePosting
target
- id of the posting to find in this postingn list.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |