equal
deleted
inserted
replaced
26 * @bug 4323074 |
26 * @bug 4323074 |
27 * @summary Basic test for newly public swap algorithm |
27 * @summary Basic test for newly public swap algorithm |
28 * @author Josh Bloch |
28 * @author Josh Bloch |
29 */ |
29 */ |
30 |
30 |
31 import java.util.*; |
31 import java.util.ArrayList; |
|
32 import java.util.Collections; |
|
33 import java.util.List; |
32 |
34 |
33 public class Swap { |
35 public class Swap { |
34 static final int SIZE = 100; |
36 static final int SIZE = 100; |
35 |
37 |
36 public static void main(String[] args) throws Exception { |
38 public static void main(String[] args) throws Exception { |