We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d5c1c commit cd9cb01Copy full SHA for cd9cb01
libraries/OclIterator.java
@@ -355,6 +355,25 @@ public void close()
355
columnNames = new ArrayList<String>();
356
}
357
358
+
359
+ public static void main(String[] args)
360
+ { ArrayList lst = new ArrayList();
361
+ for (int i = 0; i < 1000000; i++)
362
+ { lst.add(i); }
363
+ OclIterator iter1 = OclIterator.newOclIterator_Sequence(lst);
364
+ java.util.Date d1 = new java.util.Date();
365
+ long t1 = d1.getTime();
366
367
+ for (int j = 0; j < 1000000; j++)
368
+ { iter1.next();
369
+ iter1.set(1);
370
+ }
371
372
+ java.util.Date d2 = new java.util.Date();
373
+ long t2 = d2.getTime();
374
+ System.out.println(t2-t1);
375
376
377
/*
378
public static void main(String[] args)
379
{ ArrayList lst = new ArrayList();
0 commit comments