public interface Collection extends Closeable
| Modifier and Type | Method and Description | 
|---|---|
| boolean | endOfCollection()Returns true if the end of the collection has been reached | 
| Document | getDocument()Get the document object representing the current document. | 
| boolean | nextDocument()Move the collection to the start of the next document. | 
| void | reset()Resets the Collection iterator to the start of the collection. | 
boolean nextDocument()
Document getDocument()
boolean endOfCollection()
void reset()
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow