Update CollectionsBenchmark.java

This commit is contained in:
Mher Baghinyan 2018-08-11 17:52:08 +04:00 committed by GitHub
parent dccf0c3b0b
commit 5b9df5d901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}