# | Line 19 | Line 19 | public class SetBash { | |
---|---|---|
19 | fail("Class " + args[0] + " not found."); | |
20 | } | |
21 | ||
22 | < | boolean synch = (args.length>3); |
22 | > | boolean synch = (args.length > 3); |
23 | ||
24 | < | for (int i=0; i<numItr; i++) { |
24 | > | for (int i = 0; i < numItr; i++) { |
25 | Set s1 = newSet(cl, synch); | |
26 | AddRandoms(s1, setSize); | |
27 | ||
# | Line 105 | Line 105 | public class SetBash { | |
105 | } | |
106 | ||
107 | static void AddRandoms(Set s, int n) { | |
108 | < | for (int i=0; i<n; i++) { |
108 | > | for (int i = 0; i < n; i++) { |
109 | int r = rnd.nextInt() % n; | |
110 | Integer e = new Integer(r < 0 ? -r : r); | |
111 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |