Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
compare
Method · 0.65
compareTo
Method · 0.65
Tested by
no test coverage detected