Package org.onosproject.common
Class DefaultTopologyGraph
- java.lang.Object
 - 
- org.onlab.graph.AdjacencyListsGraph<TopologyVertex,TopologyEdge>
 - 
- org.onosproject.common.DefaultTopologyGraph
 
 
 
- 
- All Implemented Interfaces:
 Graph<TopologyVertex,TopologyEdge>,TopologyGraph
public class DefaultTopologyGraph extends AdjacencyListsGraph<TopologyVertex,TopologyEdge> implements TopologyGraph
Default implementation of an immutable topology graph based on a generic implementation of adjacency lists graph. 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultTopologyGraph(java.util.Set<TopologyVertex> vertexes, java.util.Set<TopologyEdge> edges)Creates a topology graph comprising of the specified vertexes and edges. 
- 
Method Summary
- 
Methods inherited from class org.onlab.graph.AdjacencyListsGraph
equals, getEdges, getEdgesFrom, getEdgesTo, getVertexes, hashCode, toString 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.onlab.graph.Graph
getEdges, getEdgesFrom, getEdgesTo, getVertexes 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
DefaultTopologyGraph
public DefaultTopologyGraph(java.util.Set<TopologyVertex> vertexes, java.util.Set<TopologyEdge> edges)
Creates a topology graph comprising of the specified vertexes and edges.- Parameters:
 vertexes- set of graph vertexesedges- set of graph edges
 
 - 
 
 -