MCPcopy Create free account
hub / github.com/ReadyTalk/avian / compare

Method compare

classpath/java/util/Collections.java:40–42  ·  view source on GitHub ↗
(Object a, Object b)

Source from the content-addressed store, hash-verified

38 public static void sort(List list) {
39 sort(list, new Comparator() {
40 public int compare(Object a, Object b) {
41 return ((Comparable) a).compareTo(b);
42 }
43 });
44 }
45

Callers

nothing calls this directly

Calls 1

compareToMethod · 0.65

Tested by

no test coverage detected