2020-08-06 10:57:42 +08:00
|
|
|
|
|
|
|
Count lines.
|
|
|
|
|
|
|
|
`jad demo.MathGame main`{{execute T2}}
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ jad demo.MathGame main
|
|
|
|
|
|
|
|
ClassLoader:
|
|
|
|
+-sun.misc.Launcher$AppClassLoader@70dea4e
|
|
|
|
+-sun.misc.Launcher$ExtClassLoader@7a616cb1
|
|
|
|
|
|
|
|
Location:
|
2021-03-17 23:23:52 +08:00
|
|
|
/home/scrapbook/tutorial/math-game.jar
|
2020-08-06 10:57:42 +08:00
|
|
|
|
|
|
|
public static void main(String[] args) throws InterruptedException {
|
|
|
|
MathGame game = new MathGame();
|
|
|
|
while (true) {
|
|
|
|
game.run();
|
|
|
|
TimeUnit.SECONDS.sleep(1L);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Affect(row-cnt:1) cost in 138 ms.
|
|
|
|
```
|
|
|
|
|
|
|
|
`jad demo.MathGame main | wc -l`{{execute T2}}
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ jad demo.MathGame main | wc -l
|
|
|
|
13
|
|
|
|
```
|