MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / compareTo

Method compareTo

Programs/Kruskal.java:9–11  ·  view source on GitHub ↗
(Edge compareEdge)

Source from the content-addressed store, hash-verified

7 int src, dest, weight;
8
9 public int compareTo(Edge compareEdge) {
10 return this.weight - compareEdge.weight;
11 }
12 };
13
14 // Union

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected