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

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

# Line 63 | Line 63 | public class CollectionWordLoops {
63          }
64      }
65  
66
66      static Collection<String> newCollection(Class<?> cl) {
67          try {
68              Collection m = (Collection<String>) cl.newInstance();
# Line 125 | Line 124 | public class CollectionWordLoops {
124          return runTime;
125      }
126  
128
127      static class Runner implements Runnable {
128          final Collection<String> collection;
129          final String[] key;
# Line 145 | Line 143 | public class CollectionWordLoops {
143              pctins = (int)(((long)pinsert * (long)(Integer.MAX_VALUE/2)) / 50);
144          }
145  
148
146          int oneStep(int j) {
147              int n = key.length;
148              int r = rng.next() & 0x7FFFFFFF;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines