public class DefaultTopologyEdge extends Object implements TopologyEdge
Constructor and Description |
---|
DefaultTopologyEdge(TopologyVertex src,
TopologyVertex dst,
Link link)
Creates a new topology edge.
|
Modifier and Type | Method and Description |
---|---|
TopologyVertex |
dst()
Returns the edge destination vertex.
|
boolean |
equals(Object obj) |
int |
hashCode() |
Link |
link()
Returns the associated infrastructure link.
|
TopologyVertex |
src()
Returns the edge source vertex.
|
String |
toString() |
public DefaultTopologyEdge(TopologyVertex src, TopologyVertex dst, Link link)
src
- source vertexdst
- destination vertexlink
- infrastructure linkpublic Link link()
TopologyEdge
link
in interface TopologyEdge
public TopologyVertex src()
Edge
src
in interface Edge<TopologyVertex>
public TopologyVertex dst()
Edge
dst
in interface Edge<TopologyVertex>