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

Method toString

src/test/resources/dataflow/livevar/Graph.java:26–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 public String toString() {
27 StringBuilder s = new StringBuilder();
28 s.append(V + " vertices, " + E + " edges " + NEWLINE);
29 for (int v = 0; v < V; v++) {
30 s.append(v + ": ");
31 for (int w : adj[v]) {
32 s.append(w + " ");
33 }
34 s.append(NEWLINE);
35 }
36 return s.toString();
37 }
38}

Callers

nothing calls this directly

Calls 2

appendMethod · 0.95
toStringMethod · 0.95

Tested by

no test coverage detected