Skip to content

Commit 1699e4c

Browse files
committed
Trove put values
1 parent 327f00f commit 1699e4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎java-collections-maps-2/src/main/java/com/baeldung/map/PrimitiveMaps.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ private static void troveMap() {
5959

6060
TDoubleIntMap doubleIntMap = new TDoubleIntHashMap(doubles, ints);
6161

62-
doubleIntMap.adjustValue(1.2, 1);
63-
doubleIntMap.adjustValue(4.5, 4);
64-
doubleIntMap.adjustValue(0.3, 0);
62+
doubleIntMap.put(1.2, 1);
63+
doubleIntMap.put(4.5, 4);
64+
doubleIntMap.put(0.3, 0);
6565
}
6666
}

0 commit comments

Comments
 (0)