Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org._3pq.jgrapht.graph.AbstractGraph
org._3pq.jgrapht.graph.GraphDelegator
org._3pq.jgrapht.graph.UnmodifiableGraph
UnsupportedOperationException
.
This graph does not pass the hashCode and equals operations through
to the backing graph, but relies on Object's equals and
hashCode methods. This graph will be serializable if the backing
graph is serializable.
Constructor Summary | |
|
Method Summary | |
boolean |
|
boolean |
|
Edge |
|
boolean | |
boolean |
|
boolean |
|
List |
|
boolean |
|
Edge |
|
boolean |
|
boolean |
|
Methods inherited from class org._3pq.jgrapht.graph.GraphDelegator | |
addEdge , addEdge , addVertex , containsEdge , containsVertex , degreeOf , edgeSet , edgesOf , getAllEdges , getEdge , getEdgeFactory , inDegreeOf , incomingEdgesOf , outDegreeOf , outgoingEdgesOf , removeEdge , removeEdge , removeVertex , toString , vertexSet |
Methods inherited from class org._3pq.jgrapht.graph.AbstractGraph | |
addAllEdges , addAllVertices , assertVertexExist , containsEdge , removeAllEdges , removeAllEdges , removeAllEdges , removeAllVertices , toString , toStringFromSets |
public UnmodifiableGraph(Graph g)
Creates a new unmodifiable graph based on the specified backing graph.
- Parameters:
g
- the backing graph on which an unmodifiable graph is to be created.
public boolean addAllEdges(Collection edges)
- Specified by:
- addAllEdges in interface Graph
- Overrides:
- addAllEdges in interface AbstractGraph
- See Also:
Graph.addAllEdges(Collection)
public boolean addAllVertices(Collection vertices)
- Specified by:
- addAllVertices in interface Graph
- Overrides:
- addAllVertices in interface AbstractGraph
- See Also:
Graph.addAllVertices(Collection)
public Edge addEdge(Object sourceVertex, Object targetVertex)
- Overrides:
- addEdge in interface GraphDelegator
- See Also:
Graph.addEdge(Object,Object)
public boolean addEdge(Edge e)
- Overrides:
- addEdge in interface GraphDelegator
- See Also:
Graph.addEdge(Edge)
public boolean addVertex(Object v)
- Overrides:
- addVertex in interface GraphDelegator
- See Also:
Graph.addVertex(Object)
public boolean removeAllEdges(Collection edges)
- Specified by:
- removeAllEdges in interface Graph
- Overrides:
- removeAllEdges in interface AbstractGraph
- See Also:
Graph.removeAllEdges(Collection)
public List removeAllEdges(Object sourceVertex, Object targetVertex)
- Specified by:
- removeAllEdges in interface Graph
- Overrides:
- removeAllEdges in interface AbstractGraph
- See Also:
Graph.removeAllEdges(Object,Object)
public boolean removeAllVertices(Collection vertices)
- Specified by:
- removeAllVertices in interface Graph
- Overrides:
- removeAllVertices in interface AbstractGraph
- See Also:
Graph.removeAllVertices(Collection)
public Edge removeEdge(Object sourceVertex, Object targetVertex)
- Specified by:
- removeEdge in interface Graph
- Overrides:
- removeEdge in interface GraphDelegator
- See Also:
Graph.removeEdge(Object,Object)
public boolean removeEdge(Edge e)
- Specified by:
- removeEdge in interface Graph
- Overrides:
- removeEdge in interface GraphDelegator
- See Also:
Graph.removeEdge(Edge)
public boolean removeVertex(Object v)
- Specified by:
- removeVertex in interface Graph
- Overrides:
- removeVertex in interface GraphDelegator
- See Also:
Graph.removeVertex(Object)