Class BasicGraph<T>
java.lang.Object
com.ibm.wala.util.graph.AbstractGraph<T>
com.ibm.wala.util.graph.impl.BasicGraph<T>
- All Implemented Interfaces:
EdgeManager<T>
,Graph<T>
,NodeManager<T>
,Iterable<T>
Basic implementation of a
Graph
. Does not support node or edge
deletion.-
Constructor Summary
-
Method Summary
Methods inherited from class com.ibm.wala.util.graph.AbstractGraph
addEdge, addNode, containsNode, edgeString, getNumberOfNodes, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, iterator, nodeString, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeNode, removeNodeAndEdges, removeOutgoingEdges, stream, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BasicGraph
public BasicGraph()
-
-
Method Details
-
getNodeManager
- Specified by:
getNodeManager
in classAbstractGraph<T>
- Returns:
- the object which manages nodes in the graph
-
getEdgeManager
- Specified by:
getEdgeManager
in classAbstractGraph<T>
- Returns:
- the object which manages edges in the graph
-