public class OnlineIRTermIndexList extends Object implements IRTermIndexList, IRSignatureIndexList
The class is used to add or get a given IR term
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
OnlineIRTermIndexList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(IRTerm curTerm)
Adds the term to the list
|
void |
close()
Releases occupied resources
|
IRTerm |
get(int index)
Gets the IRTerm object specified by the index
|
IRSignature |
getIRSignature(int index) |
int |
size()
Gets the number of terms in the list
|
public IRSignature getIRSignature(int index)
getIRSignature in interface IRSignatureIndexListpublic IRTerm get(int index)
IRTermIndexListget in interface IRTermIndexListindex - the index of the termpublic boolean add(IRTerm curTerm)
IRTermIndexListadd in interface IRTermIndexListcurTerm - the term for addingpublic void close()
IRTermIndexListclose in interface IRSignatureIndexListclose in interface IRTermIndexListpublic int size()
IRTermIndexListsize in interface IRSignatureIndexListsize in interface IRTermIndexListCopyright © 2018 JULIE Lab, Germany. All rights reserved.