V
- the graph vertex typeE
- the graph edge typepublic class UnmodifiableDirectedGraph<V,E> extends UnmodifiableGraph<V,E> implements DirectedGraph<V,E>
UnmodifiableGraph
,
Serialized FormConstructor and Description |
---|
UnmodifiableDirectedGraph(DirectedGraph<V,E> g)
Creates a new unmodifiable directed 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
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
public UnmodifiableDirectedGraph(DirectedGraph<V,E> g)
g
- the backing graph on which an unmodifiable graph is to be created.Copyright © 2017. All rights reserved.