org.jgrapht.graph
Class UnmodifiableUndirectedGraph<V,E>
- java.lang.Object
-
- org.jgrapht.graph.AbstractGraph<V,E>
-
- org.jgrapht.graph.GraphDelegator<V,E>
-
- org.jgrapht.graph.UnmodifiableGraph<V,E>
-
- org.jgrapht.graph.UnmodifiableUndirectedGraph<V,E>
-
- Type Parameters:
V- the graph vertex typeE- the graph edge type
- All Implemented Interfaces:
- java.io.Serializable, Graph<V,E>, UndirectedGraph<V,E>
public class UnmodifiableUndirectedGraph<V,E> extends UnmodifiableGraph<V,E> implements UndirectedGraph<V,E>
An undirected graph that cannot be modified.- See Also:
UnmodifiableGraph, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description UnmodifiableUndirectedGraph(UndirectedGraph<V,E> g)Creates a new unmodifiable undirected graph based on the specified backing graph.
-
Method Summary
-
Methods inherited from class org.jgrapht.graph.UnmodifiableGraph
addEdge, addEdge, addVertex, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex
-
Methods inherited from class org.jgrapht.graph.GraphDelegator
containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, setEdgeWeight, toString, vertexSet
-
Methods inherited from class org.jgrapht.graph.AbstractGraph
containsEdge, equals, hashCode
-
Methods inherited from interface org.jgrapht.UndirectedGraph
degreeOf
-
Methods inherited from interface org.jgrapht.Graph
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
-
-
-
-
Constructor Detail
-
UnmodifiableUndirectedGraph
public UnmodifiableUndirectedGraph(UndirectedGraph<V,E> g)
Creates a new unmodifiable undirected graph based on the specified backing graph.- Parameters:
g- the backing graph on which an unmodifiable graph is to be created.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG