Skip to content

Commit 04f9b44

Browse files
committed
Trove test refactor
1 parent 12b1973 commit 04f9b44

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎core-java-collections-list/src/main/java/com/baeldung/list/primitive/PrimitivesListPerformance.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public boolean addArrayList() {
3131
}
3232

3333
@Benchmark
34-
public boolean addTIntList() {
34+
public boolean addTroveIntList() {
3535
return tList.add(getValue);
3636
}
3737

@@ -51,7 +51,7 @@ public int getArrayList() {
5151
}
5252

5353
@Benchmark
54-
public int getTIntList() {
54+
public int getTroveIntList() {
5555
return tList.get(getValue);
5656
}
5757

@@ -71,7 +71,7 @@ public boolean containsArrayList() {
7171
}
7272

7373
@Benchmark
74-
public boolean containsTIntList() {
74+
public boolean containsTroveIntList() {
7575
return tList.contains(getValue);
7676
}
7777

0 commit comments

Comments
 (0)