public class OnlineIRRelationIndexList extends Object implements IRRelationIndexList, IRSignatureIndexList
The class is used to add or get a given IR relation
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
OnlineIRRelationIndexList() |
| Modifier and Type | Method and Description |
|---|---|
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
|
IRSignature |
getIRSignature(int index) |
int |
size()
Gets the number of relations in the list.
|
public IRSignature getIRSignature(int index)
getIRSignature in interface IRSignatureIndexListpublic IRRelation get(int index)
IRRelationIndexListget in interface IRRelationIndexListindex - the index of the relationpublic boolean add(IRRelation curRelation)
IRRelationIndexListadd in interface IRRelationIndexListcurRelation - the relation for addingpublic int size()
IRRelationIndexListsize in interface IRRelationIndexListsize in interface IRSignatureIndexListpublic void close()
IRRelationIndexListclose in interface IRRelationIndexListclose in interface IRSignatureIndexListCopyright © 2018 JULIE Lab, Germany. All rights reserved.