Package org._3pq.jgrapht.graph
Class UnmodifiableDirectedGraph
- java.lang.Object
-
- org._3pq.jgrapht.graph.AbstractGraph
-
- org._3pq.jgrapht.graph.GraphDelegator
-
- org._3pq.jgrapht.graph.UnmodifiableGraph
-
- org._3pq.jgrapht.graph.UnmodifiableDirectedGraph
-
- All Implemented Interfaces:
java.io.Serializable
,DirectedGraph
,Graph
public class UnmodifiableDirectedGraph extends UnmodifiableGraph implements DirectedGraph
A directed graph that cannot be modified.- See Also:
UnmodifiableGraph
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableDirectedGraph(DirectedGraph g)
Creates a new unmodifiable directed graph based on the specified backing graph.
-
Method Summary
-
Methods inherited from class org._3pq.jgrapht.graph.UnmodifiableGraph
addAllEdges, addAllVertices, addEdge, addEdge, addVertex, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex
-
Methods inherited from class org._3pq.jgrapht.graph.GraphDelegator
containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, toString, vertexSet
-
Methods inherited from class org._3pq.jgrapht.graph.AbstractGraph
assertVertexExist, containsEdge, removeAllEdges, toStringFromSets
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org._3pq.jgrapht.DirectedGraph
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf
-
Methods inherited from interface org._3pq.jgrapht.Graph
addAllEdges, addAllVertices, addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
-
-
-
-
Constructor Detail
-
UnmodifiableDirectedGraph
public UnmodifiableDirectedGraph(DirectedGraph g)
Creates a new unmodifiable directed graph based on the specified backing graph.- Parameters:
g
- the backing graph on which an unmodifiable graph is to be created.
-
-