public class OnlineIRDocIndexList extends Object implements IRDocIndexList
The class is used to add or get a given IRDoc
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
OnlineIRDocIndexList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(IRDoc curDoc)
Adds an IRDoc object to the index list
|
void |
close()
Releases occupied resources
|
IRDoc |
get(int index)
Gets the IRDoc specified by its index
|
int |
size()
Gets the number of documents in the list.
|
public IRDoc get(int index)
IRDocIndexListget in interface IRDocIndexListindex - the index of the documentpublic boolean add(IRDoc curDoc)
IRDocIndexListadd in interface IRDocIndexListcurDoc - the IRDoc for addingpublic void close()
IRDocIndexListclose in interface IRDocIndexListpublic int size()
IRDocIndexListsize in interface IRDocIndexListCopyright © 2018 JULIE Lab, Germany. All rights reserved.