equal
deleted
inserted
replaced
26 * @bug 4809442 6366832 4974878 6372554 4890211 6483125 |
26 * @bug 4809442 6366832 4974878 6372554 4890211 6483125 |
27 * @summary Basic test for Collections.reverseOrder |
27 * @summary Basic test for Collections.reverseOrder |
28 * @author Josh Bloch, Martin Buchholz |
28 * @author Josh Bloch, Martin Buchholz |
29 */ |
29 */ |
30 |
30 |
31 import java.util.*; |
31 import java.io.ByteArrayInputStream; |
32 import java.io.*; |
32 import java.io.ByteArrayOutputStream; |
|
33 import java.io.IOException; |
|
34 import java.io.InputStream; |
|
35 import java.io.ObjectInputStream; |
|
36 import java.io.ObjectOutputStream; |
|
37 import java.util.ArrayList; |
|
38 import java.util.Collections; |
|
39 import java.util.Comparator; |
|
40 import java.util.LinkedList; |
|
41 import java.util.List; |
33 |
42 |
34 public class ReverseOrder2 { |
43 public class ReverseOrder2 { |
35 static final int N = 100; |
44 static final int N = 100; |
36 |
45 |
37 static void realMain(String[] args) throws Throwable { |
46 static void realMain(String[] args) throws Throwable { |