Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/traneio/future
/ run
Method
run
future-java/src/test/java/io/trane/future/LocalTest.java:23–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
AtomicReference<Optional<Integer>> result =
new
AtomicReference<>();
22
Thread t =
new
Thread() {
23
@Override
24
public
void
run() {
25
result.set(l.get());
26
}
27
};
28
t.start();
29
t.join();
Callers
nothing calls this directly
Calls
2
set
Method · 0.80
get
Method · 0.65
Tested by
no test coverage detected