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

Comparing jsr166/src/test/loops/IteratorLoops.java (file contents):
Revision 1.9 by jsr166, Tue Mar 15 19:47:05 2011 UTC vs.
Revision 1.11 by jsr166, Thu Dec 18 18:43:22 2014 UTC

# Line 14 | Line 14 | import java.util.*;
14   * and long iterators.  Reports include times for adds and other
15   * checks, so overestimate times per iteration.
16   */
17
17   public final class IteratorLoops {
18      static final int DEFAULT_SIZE = 16384;
19      static final int DEFAULT_TRIALS = 4;
# Line 23 | Line 22 | public final class IteratorLoops {
22      static int randomSeed = 3122688;
23  
24      public static void main(String[] args) throws Exception {
25 <        Class klass = Class.forName(args[0]);
25 >        Class<?> klass = Class.forName(args[0]);
26          int n = (args.length <= 1) ? DEFAULT_SIZE : Integer.parseInt(args[1]);
27          int t = (args.length <= 2) ? DEFAULT_TRIALS : Integer.parseInt(args[2]);
28  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines