MCPcopy
hub / github.com/DuGuQiuBai/Java / call

Method call

day24/code/day24_Thread/src/cn/itcast_09/MyCallable.java:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5public class MyCallable implements Callable {
6
7 @Override
8 public Object call() throws Exception {
9 for (int x = 0; x < 100; x++) {
10 System.out.println(Thread.currentThread().getName() + ":" + x);
11 }
12 return null;
13 }
14
15}

Callers

nothing calls this directly

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected