Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReadyTalk/avian
/ find
Method
find
classpath/java/util/TreeSet.java:88–91 ·
view source on GitHub ↗
(T value)
Source
from the content-addressed store, hash-verified
86
}
87
88
T find(T value) {
89
PersistentSet.Path<Cell<T>> p = set.find(
new
Cell(value, null));
90
return
p.fresh() ? null : p.value().value;
91
}
92
93
T removeAndReturn(T value) {
94
Cell<T> cell = removeCell(value);
Callers
nothing calls this directly
Calls
3
fresh
Method · 0.80
find
Method · 0.65
value
Method · 0.45
Tested by
no test coverage detected