jdk/test/java/util/Collections/Disjoint.java
changeset 32649 2ee9017c7597
parent 30046 cf2c86e1819e
child 43522 f9c6f543c4db
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    30  */
    30  */
    31 
    31 
    32 import java.util.*;
    32 import java.util.*;
    33 
    33 
    34 public class Disjoint {
    34 public class Disjoint {
    35     final static int N = 20;
    35     static final int N = 20;
    36 
    36 
    37     public static void main(String args[]) {
    37     public static void main(String args[]) {
    38         // Make an array of lists each of which shares a single element
    38         // Make an array of lists each of which shares a single element
    39         // with its "neighbors," and no elements with other lists in the array
    39         // with its "neighbors," and no elements with other lists in the array
    40         Random rnd = new Random();
    40         Random rnd = new Random();