Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/careercup/ctci
/ run
Method
run
java/Chapter 16/IntroductionWaitNotify/MyClass.java:12–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
}
11
12
public
void
run() {
13
try {
14
myObj.wait(1000);
15
myObj.foo(name);
16
myObj.notify();
17
} catch (InterruptedException e) {
18
e.printStackTrace();
19
}
20
}
21
}
Callers
nothing calls this directly
Calls
1
foo
Method · 0.45
Tested by
no test coverage detected