|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.model.graph.GraphEdge
public class GraphEdge
Graph edge
Field Summary | |
---|---|
private java.lang.Boolean |
isTreeEdge
Whether this edge is tree edge (null=undetermined) |
private GraphNode |
theFromNode
Source node |
private GraphNode |
theToNode
Destination node |
private java.lang.Object |
theUserData
User data |
Constructor Summary | |
---|---|
GraphEdge(GraphNode thisFromNode,
GraphNode thisToNode,
java.lang.Boolean isTreeEdgeFlag)
Constructor |
Method Summary | |
---|---|
java.lang.Boolean |
get()
Whether this edge is tree edge (null=undetermined) |
GraphNode |
getFrom()
Get source node |
java.lang.Boolean |
getIsTreeEdge()
Whether this edge is tree edge (null=undetermined) |
GraphNode |
getOtherNode(GraphNode thisNode)
Get node other than |
GraphNode |
getTo()
Get destination node |
java.lang.Object |
getUserData()
Get user data |
(package private) static GraphEdge |
makeReverseOf(GraphEdge thisEdge)
Make inverse edge |
void |
setUserData(java.lang.Object thisUserData)
Set user data |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.Object theUserData
private java.lang.Boolean isTreeEdge
private GraphNode theFromNode
private GraphNode theToNode
Constructor Detail |
---|
public GraphEdge(GraphNode thisFromNode, GraphNode thisToNode, java.lang.Boolean isTreeEdgeFlag)
thisFromNode
- source nodethisToNode
- destination nodeMethod Detail |
---|
static GraphEdge makeReverseOf(GraphEdge thisEdge)
thisEdge
- edge
public GraphNode getFrom()
public GraphNode getTo()
public java.lang.Boolean getIsTreeEdge()
public java.lang.Object getUserData()
public void setUserData(java.lang.Object thisUserData)
thisUserData
- user datapublic java.lang.Boolean get()
public GraphNode getOtherNode(GraphNode thisNode)
thisNode
- reference node
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |