MCPcopy Create free account
hub / github.com/LFYSec/MScan / Graph

Method Graph

src/test/resources/dataflow/livevar/Graph.java:11–18  ·  view source on GitHub ↗
(int V)

Source from the content-addressed store, hash-verified

9 public List<Integer>[] adj;
10
11 public Graph(int V) {
12 this.V = V;
13 this.E = 0;
14 adj = new List<Integer>[V];
15 for (int v = 0; v < V; v++) {
16 adj[v] = new ArrayList<Integer>();
17 }
18 }
19
20 public void addEdge(int v, int w) {
21 E++;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected