test/jdk/java/util/Collections/BigBinarySearch.java
changeset 48541 946e34c2dec9
parent 47216 71c04702a3d5
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
    26  * @bug 5045582
    26  * @bug 5045582
    27  * @summary binarySearch of Collections larger than 1<<30
    27  * @summary binarySearch of Collections larger than 1<<30
    28  * @author Martin Buchholz
    28  * @author Martin Buchholz
    29  */
    29  */
    30 
    30 
    31 import java.util.*;
    31 import java.util.AbstractList;
       
    32 import java.util.Collections;
       
    33 import java.util.Comparator;
       
    34 import java.util.HashMap;
       
    35 import java.util.List;
       
    36 import java.util.Map;
       
    37 import java.util.RandomAccess;
    32 
    38 
    33 public class BigBinarySearch {
    39 public class BigBinarySearch {
    34 
    40 
    35     // Allows creation of very "big" collections without using too
    41     // Allows creation of very "big" collections without using too
    36     // many real resources
    42     // many real resources