ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Collections/Disjoint.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Collections/Disjoint.java (file contents):
Revision 1.6 by jsr166, Wed Jan 4 04:46:18 2017 UTC vs.
Revision 1.8 by jsr166, Mon Jan 8 03:12:03 2018 UTC

# Line 29 | Line 29
29   * @key randomness
30   */
31  
32 < import java.util.*;
32 > import java.util.ArrayList;
33 > import java.util.Collections;
34 > import java.util.HashSet;
35 > import java.util.List;
36 > import java.util.Random;
37  
38   public class Disjoint {
39      static final int N = 20;
40  
41 <    public static void main(String args[]) {
41 >    public static void main(String[] args) {
42          // Make an array of lists each of which shares a single element
43          // with its "neighbors," and no elements with other lists in the array
44          Random rnd = new Random();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines