|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.client.net.DefaultCGEdge
public class DefaultCGEdge
Default implementation of CGEdge.
Field Summary | |
---|---|
private java.util.Set<anl.aida.core.DocumentID> |
docs
|
private java.lang.String |
label
|
Constructor Summary | |
---|---|
DefaultCGEdge(java.lang.String label,
java.util.Set<anl.aida.core.DocumentID> docs)
|
Method Summary | |
---|---|
java.lang.Iterable<anl.aida.core.DocumentID> |
documents()
Gets an iterable over the docs associated with this edge. |
int |
getDocumentCount()
Gets the number of documents associated with this edge. |
void |
getDocuments(java.util.Collection<anl.aida.core.DocumentID> docs)
Gets the documents contained by this container and puts them in the specified collection. |
java.lang.String |
getLabel()
Gets a label for this edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String label
private java.util.Set<anl.aida.core.DocumentID> docs
Constructor Detail |
---|
public DefaultCGEdge(java.lang.String label, java.util.Set<anl.aida.core.DocumentID> docs)
Method Detail |
---|
public java.lang.Iterable<anl.aida.core.DocumentID> documents()
documents
in interface DocumentContainer
documents
in interface CGEdge
public int getDocumentCount()
getDocumentCount
in interface DocumentContainer
getDocumentCount
in interface CGEdge
public void getDocuments(java.util.Collection<anl.aida.core.DocumentID> docs)
getDocuments
in interface DocumentContainer
docs
- the collection to add the documents topublic java.lang.String getLabel()
getLabel
in interface CGEdge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |