Update CollectionsBenchmark.java
This commit is contained in:
parent
dccf0c3b0b
commit
5b9df5d901
|
@ -28,10 +28,10 @@ public class CollectionsBenchmark {
|
|||
for (long ii = 0; ii < iterations; ii++) {
|
||||
employeeSet.add(new Employee(ii, "John"));
|
||||
employeeList.add(new Employee(ii, "John"));
|
||||
|
||||
employeeList.add(employee);
|
||||
employeeSet.add(employee);
|
||||
}
|
||||
|
||||
employeeList.add(employee);
|
||||
employeeSet.add(employee);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue