Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DuGuQiuBai/Java
/ run
Method
run
day24/code/day24_Thread/src/cn/itcast_06/SetThread.java:12–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
}
11
12
@Override
13
public
void
run() {
14
while
(true) {
15
if
(x % 2 == 0) {
16
s.set(
"����ϼ"
, 28);
17
}
else
{
18
s.set(
"����"
, 31);
19
}
20
x++;
21
}
22
}
23
24
}
Callers
nothing calls this directly
Calls
1
set
Method · 0.80
Tested by
no test coverage detected