|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--dragon.ir.index.BasicIRTermIndexList
The class is used to write or load the relation indexing information for a given IR term or term set
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor Summary | |
BasicIRTermIndexList(java.lang.String filename,
boolean writingMode)
|
|
| Method Summary | |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicIRTermIndexList(java.lang.String filename,
boolean writingMode)
| Method Detail |
public IRSignature getIRSignature(int index)
getIRSignature in interface IRSignatureIndexListpublic IRTerm get(int index)
IRTermIndexList
get in interface IRTermIndexListindex - the index of the term
public boolean add(IRTerm curTerm)
IRTermIndexList
add in interface IRTermIndexListcurTerm - the term for adding
public void close()
IRTermIndexList
close in interface IRTermIndexListpublic int size()
IRTermIndexList
size in interface IRTermIndexList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||