test/jdk/java/util/Collections/Swap.java
changeset 48541 946e34c2dec9
parent 47730 c7b5b1ce8145
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
    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 {