Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DuGuQiuBai/Java
/ call
Method
call
day24/code/day24_Thread/src/cn/itcast_10/MyCallable.java:13–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
}
12
13
@Override
14
public
Integer call() throws Exception {
15
int
sum = 0;
16
for
(
int
x = 1; x <= number; x++) {
17
sum += x;
18
}
19
return
sum;
20
}
21
22
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected