-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
32 lines (27 loc) · 686 Bytes
/
Main.java
File metadata and controls
32 lines (27 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
/**
* @author draper_hxy
*/
public class Main {
public static void main(String[] args) {
case1();
}
public static void case1() {
List<Main> integerList = new LinkedList<>();
try {
Thread.sleep(60000);
} catch (InterruptedException e) {
e.printStackTrace();
}
for (int i = 0; i < Integer.MAX_VALUE; i++) {
// int randomInt = new Main().test();
integerList.add(new Main());
}
}
public int test() {
Random random = new Random();
return random.nextInt(1000);
}
}