|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--dragon.ir.index.BasicIRRelationIndexList
The class is used to write or load the relation indexing information for a given IR relation or relation set
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor Summary | |
BasicIRRelationIndexList(java.lang.String filename,
boolean writingMode)
|
|
| Method Summary | |
boolean |
add(IRRelation curRelation)
Adds a relation to the list. |
void |
close()
Releases occupied resources. |
IRRelation |
get(int index)
Gets the IRRelation object specified by its index |
int |
getCacheSize()
|
IRSignature |
getIRSignature(int index)
|
void |
setCacheSize(int size)
|
int |
size()
Gets the number of relations in the list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicIRRelationIndexList(java.lang.String filename,
boolean writingMode)
| Method Detail |
public void setCacheSize(int size)
public int getCacheSize()
public IRSignature getIRSignature(int index)
getIRSignature in interface IRSignatureIndexListpublic IRRelation get(int index)
IRRelationIndexList
get in interface IRRelationIndexListindex - the index of the relation
public boolean add(IRRelation curRelation)
IRRelationIndexList
add in interface IRRelationIndexListcurRelation - the relation for adding
public int size()
IRRelationIndexList
size in interface IRRelationIndexListpublic void close()
IRRelationIndexList
close in interface IRRelationIndexList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||