public class UnmodifiableUndirectedGraph<V,E> extends UnmodifiableGraph<V,E> implements UndirectedGraph<V,E>
UnmodifiableGraph,
Serialized Form| Constructor 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, removeVertexcontainsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, setEdgeWeight, toString, vertexSetassertVertexExist, containsEdge, equals, hashCode, removeAllEdges, toStringFromSetsclone, finalize, getClass, notify, notifyAll, wait, wait, waitdegreeOfaddEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSetpublic UnmodifiableUndirectedGraph(UndirectedGraph<V,E> g)
g - the backing graph on which an unmodifiable graph is to be
created.Copyright © 2016. All rights reserved.