stopTimer();
return l.length + " unsuccessful calls to remove() with " + l.length + " elements";
}
public String benchmarkIterator(DataSet dataSet) {
IntCollection c = create(dataSet.get(0));
startTimer();
IntIterator it = c.iterator();
while (it.hasNext()) it.next();
stopTimer();
return "Iteration over " + c.size() + " elements";
}