|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.structures.indexing.singlepass.RunIterator
public abstract class RunIterator
An abstract base class which allows PostingInRuns to be iterated over. Implementations are typically more generic versions of RunReader from Terrier 2.0 and 2.1.
| Method Summary | |
|---|---|
void |
close()
close this RunIterator |
PostingInRun |
current()
returns the current posting |
int |
getRunNo()
Get the run number that the current posting came from |
abstract boolean |
hasNext()
iterator implementation |
abstract PostingInRun |
next()
iterator implementation |
void |
remove()
unsupported iterator method |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getRunNo()
public abstract boolean hasNext()
hasNext in interface java.util.Iterator<PostingInRun>public abstract PostingInRun next()
next in interface java.util.Iterator<PostingInRun>public PostingInRun current()
public void remove()
remove in interface java.util.Iterator<PostingInRun>public void close()
close in interface Closeable
|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||