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() |
boolean |
equals(Object obj) |
int |
hashCode() |
Link |
link()
Returns the associated infrastructure link.
|
TopologyVertex |
src() |
String |
toString() |
public DefaultTopologyEdge(TopologyVertex src, TopologyVertex dst, Link link)
src - source vertexdst - destination vertexlink - infrastructure linkpublic Link link()
TopologyEdgelink in interface TopologyEdgepublic TopologyVertex src()
src in interface org.onlab.graph.Edge<TopologyVertex>public TopologyVertex dst()
dst in interface org.onlab.graph.Edge<TopologyVertex>Copyright © 2015. All rights reserved.