ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/extra166y/SetOpsDemo.java
(Generate patch)

Comparing jsr166/src/test/extra166y/SetOpsDemo.java (file contents):
Revision 1.2 by jsr166, Mon Nov 16 04:16:43 2009 UTC vs.
Revision 1.3 by jsr166, Wed Sep 1 07:28:19 2010 UTC

# Line 16 | Line 16 | class SetOpsDemo {
16      static int reps = 16;
17      static final long maxValue = 1 << 12;
18  
19 <    public static void main (String[] args) throws Exception {
19 >    public static void main(String[] args) throws Exception {
20          int n = 1 << 20;
21          Long[] a = new Long[n];
22          ParallelArray<Long> pa = ParallelArray.createUsingHandoff(a, fjpool);
# Line 293 | Line 293 | class SetOpsDemo {
293          return u;
294      }
295  
296 <    static void checkSorted (ParallelArray<Long> pa)  {
296 >    static void checkSorted(ParallelArray<Long> pa)  {
297          int n = pa.size();
298          for (int i = 0; i < n - 1; i++) {
299              if (pa.get(i).compareTo(pa.get(i+1)) >= 0) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines