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

Comparing jsr166/src/test/loops/NavigableMapCheck.java (file contents):
Revision 1.1 by dl, Mon May 2 19:19:38 2005 UTC vs.
Revision 1.3 by dl, Wed Apr 19 15:10:47 2006 UTC

# Line 1 | Line 1
1 + /*
2 + * Written by Doug Lea with assistance from members of JCP JSR-166
3 + * Expert Group and released to the public domain, as explained at
4 + * http://creativecommons.org/licenses/publicdomain
5 + */
6   /**
7   * @test
8   * @synopsis Times and checks basic map operations
# Line 294 | Line 299 | public class NavigableMapCheck {
299          reallyAssert (sum == size);
300      }
301  
297    static void rittest2(NavigableMap s, int size) {
298        int sum = 0;
299        timer.start("Desc Iter Entry        ", size);
300        for (Iterator it = s.descendingEntrySet().iterator(); it.hasNext(); ) {
301            if(it.next() != MISSING)
302                ++sum;
303        }
304        timer.finish();
305        reallyAssert (sum == size);
306    }
302  
303      static void rittest(NavigableMap s, int size) {
304          rittest1(s, size);
305 <        rittest2(s, size);
305 >        //        rittest2(s, size);
306      }
307  
308  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines