|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.quilt.graph.Connector
|
+--org.quilt.graph.BinaryConnector
A Connector holding two edges. Implementation detail: we assume that in laying out bytecode the 'else' code appears immediately after the if but the 'then' code is accessed using a goto.
| Constructor Summary | |
BinaryConnector(Connector conn,
Edge otherE)
|
|
BinaryConnector(Edge e,
Edge otherE)
|
|
| Method Summary | |
Edge |
getEdge()
Get the preferred edge. |
Edge |
getOtherEdge()
Get the other edge. |
Vertex |
getOtherTarget()
Get the target of the other edge |
Vertex |
getTarget()
Get the target of the preferred edge. |
void |
setOtherTarget(Vertex v)
Set the target of the other edge. |
void |
setTarget(Vertex v)
Change the target of the preferred edge. |
int |
size()
Returns total number of edges in the connector. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BinaryConnector(Edge e,
Edge otherE)
public BinaryConnector(Connector conn,
Edge otherE)
| Method Detail |
public Edge getEdge()
getEdge in class Connectorpublic Vertex getTarget()
getTarget in class Connectorpublic void setTarget(Vertex v)
setTarget in class Connectorpublic int size()
Connector
size in class Connectorpublic Edge getOtherEdge()
public Vertex getOtherTarget()
public void setOtherTarget(Vertex v)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||