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

Method compare

classpath/java/util/TreeSet.java:21–23  ·  view source on GitHub ↗
(Cell<T> a, Cell<T> b)

Source from the content-addressed store, hash-verified

19 public TreeSet(final Comparator<T> comparator) {
20 set = new PersistentSet(new Comparator<Cell<T>>() {
21 public int compare(Cell<T> a, Cell<T> b) {
22 return comparator.compare(a.value, b.value);
23 }
24 });
25 }
26

Callers

nothing calls this directly

Calls 2

compareMethod · 0.65
compareToMethod · 0.65

Tested by

no test coverage detected