public class UnmodifiableUndirectedGraph<V,E> extends UnmodifiableGraph<V,E> implements UndirectedGraph<V,E>
UnmodifiableGraph
,
Serialized FormConstructor and Description |
---|
UnmodifiableUndirectedGraph(UndirectedGraph<V,E> g)
Creates a new unmodifiable undirected graph based on the specified
backing graph.
|
addEdge, addEdge, addVertex, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex
containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, setEdgeWeight, toString, vertexSet
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, toStringFromSets
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
degreeOf
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
public UnmodifiableUndirectedGraph(UndirectedGraph<V,E> g)
g
- the backing graph on which an unmodifiable graph is to be
created.Copyright © 2016. All rights reserved.