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

Comparing jsr166/src/test/loops/MapWordLoops.java (file contents):
Revision 1.10 by jsr166, Wed Dec 31 17:00:58 2014 UTC vs.
Revision 1.11 by jsr166, Thu Jan 15 18:34:19 2015 UTC

# Line 65 | Line 65 | public class MapWordLoops {
65          }
66      }
67  
68
68      static Map<String,String> newMap(Class<?> cl) {
69          try {
70              Map m = (Map<String,String>)cl.newInstance();
# Line 127 | Line 126 | public class MapWordLoops {
126          return runTime;
127      }
128  
130
129      static class Runner implements Runnable {
130          final Map<String,String> map;
131          final String[] key;
# Line 148 | Line 146 | public class MapWordLoops {
146              rng = new LoopHelpers.SimpleRandom((id + 1) * 8862213513L);
147          }
148  
151
149          int oneStep(int j) {
150              int n = key.length;
151              int r = rng.next() & 0x7FFFFFFF;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines