Package com.ibm.wala.util.graph.impl
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>
public class BasicGraph<T> extends AbstractGraph<T>
Basic implementation of aGraph. Does not support node or edge deletion.
-
-
Constructor Summary
Constructors Constructor Description BasicGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EdgeManager<T>getEdgeManager()protected NodeManager<T>getNodeManager()-
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
-
-
-
-
Method Detail
-
getNodeManager
protected NodeManager<T> getNodeManager()
- Specified by:
getNodeManagerin classAbstractGraph<T>- Returns:
- the object which manages nodes in the graph
-
getEdgeManager
protected EdgeManager<T> getEdgeManager()
- Specified by:
getEdgeManagerin classAbstractGraph<T>- Returns:
- the object which manages edges in the graph
-
-