Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/DuGuQiuBai/Java
/ run
Method
run
day24/code/day24_Thread/src/cn/itcast_08/MyRunnable.java:5–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
public
class
MyRunnable implements Runnable {
4
5
@Override
6
public
void
run() {
7
for
(
int
x = 0; x < 100; x++) {
8
System.out.println(Thread.currentThread().getName() +
":"
+ x);
9
}
10
}
11
12
}
Callers
nothing calls this directly
Calls
1
getName
Method · 0.45
Tested by
no test coverage detected