V
- the graph vertex typeE
- the graph edge typeAsUnmodifiableGraph
.@Deprecated public class UnmodifiableUndirectedGraph<V,E> extends UnmodifiableGraph<V,E> implements UndirectedGraph<V,E>
UnmodifiableGraph
,
Serialized FormDEFAULT_EDGE_WEIGHT
Constructor and Description |
---|
UnmodifiableUndirectedGraph(UndirectedGraph<V,E> g)
Deprecated.
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, getType, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, setEdgeWeight, toString, vertexSet
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, toStringFromSets
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, getType, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, setEdgeWeight, vertexSet
public UnmodifiableUndirectedGraph(UndirectedGraph<V,E> g)
g
- the backing graph on which an unmodifiable graph is to be created.Copyright © 2017. All rights reserved.