|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Builder for Graphs (see [Gamma1995]).
Method Summary | |
void |
addEdge(java.lang.Object sourceNodeID,
java.lang.Object targetNodeID,
java.lang.Object edgeID)
Adds the edge identified by edgeID , along with
identifiers for edge source and target.
|
void |
addNode(java.lang.Object nodeID)
Adds the node identified by nodeID , but only if there
is no node identified by an equal Object already. |
java.lang.Object |
object(java.lang.Object id)
The object identified by id . |
Method Detail |
public void addNode(java.lang.Object nodeID)
Adds the node identified by nodeID
, but only if there
is no node identified by an equal Object
already.
public void addEdge(java.lang.Object sourceNodeID, java.lang.Object targetNodeID, java.lang.Object edgeID)
Adds the edge identified by edgeID
, along with
identifiers for edge source and target.
If there is already an edge for which edgeID
is
equal, no new edge is inserted.
public java.lang.Object object(java.lang.Object id)
The object identified by id
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |