Commit Graph

30 Commits

Author SHA1 Message Date
danielmcnally285 3a2f05b17d
BAEL-6764: Collect stream of entrySet() to LinkedHashMap (#15806)
* entryset to linkedhashmap unit tests

* use set over list for groupingBy unit test

* add clearer unit test method names

* remove public modifier from unit tests

* rename unit test as per pr comment
2024-02-14 06:53:19 +05:30
collaboratewithakash 574aafd91c
backlink updated 2024-01-27 12:42:09 +05:30
Bipin kumar e144d0599b Java 28508 Fix formatting of POMs Modules A to C (#15359) 2023-12-06 18:17:52 +02:00
edizor 0adcb51cc1 Update README.md
[skip ci]
2023-12-03 14:13:05 +08:00
edizor f53d917454 Update README.md
[skip ci]
2023-12-03 14:07:32 +08:00
edizor 2e27265f5a Update README.md
[skip ci]
2023-12-03 11:18:44 +08:00
Bhaskar Ghosh Dastidar d69a3ac6bd [BAEL-6787] Increment map value benchmark - JMH (#15268)
* [BAEL-6787] jmh class added

* [BAEL-6787] jmh pom

---------

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-11-26 19:43:04 -08:00
davidmartinezbarua 951dcdaee8 Merge pull request #15169 from sk1418/map-sort-by-value
[map-sort-by-value] sort map by value
2023-11-26 13:13:48 -03:00
mikr 33c1b23627 Update readme 2023-11-24 14:20:26 +01:00
macasari b64a40f6f4 BAEL-6600 - fix various reported issues 2023-11-22 10:40:38 +01:00
Mario Angelo Casari b38867d054 Merge remote-tracking branch 'upstream/master' 2023-11-22 09:40:19 +01:00
Bhaskar Ghosh Dastidar 684a14ce5f [BAEL-6787] increment value of a map (#15243)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-11-19 11:36:51 -08:00
macasari 5942a934cf BAEL-6600: add further test cases 2023-11-15 23:53:42 +01:00
mcasari 8a31837a3e BAEL-6600: fix flaws in the logic of put method 2023-11-14 23:22:44 +01:00
Kai Yuan 88926bba03 [map-sort-by-value] add missing diamonds 2023-11-14 22:21:47 +01:00
mcasari 9973d9aec3 BAEL-6600: minor fixing 2023-11-13 23:51:31 +01:00
mcasari 2ae8f45bc2 Merge remote-tracking branch 'upstream/master' 2023-11-13 23:39:46 +01:00
mcasari 5ecbb1b7c8 BAEL-6600: override put instead of additional method 2023-11-13 23:39:30 +01:00
Lucian Snare c0a9532c64 BAEL-6790: Write and Read file with HashMap (#15087)
* Add examples for reading and writing a HashMap from a file

* Add test for gson
2023-11-12 07:59:00 -08:00
edizor bb31624bb4 Update README.md
[skip ci]
2023-11-11 07:43:24 +08:00
edizor a2ad229e4e Update README.md
[skip ci]
2023-11-10 19:37:26 +08:00
Kai Yuan faa689f018 [map-sort-by-value] sort map by value 2023-11-10 08:15:20 +01:00
mcasari e0c7ddb52e BAEL-6600 - limit max size by LinkedHashMap and custom HashMap 2023-11-06 20:38:18 +01:00
Kai Yuan d8fb8b381f [linkedhashmap-first-last] get first and last entry from LinkedHashMap (#15066)
* [linkedhashmap-first-last] get first and last entry from LinkedHashMap

* [linkedhashmap-first-last] add the stream approach
2023-11-01 20:28:53 -05:00
edizor 3df29751a7 Update README.md
[skip ci]
2023-10-29 06:29:25 +08:00
edizor 349fee9202 Update README.md
[skip ci]
2023-10-20 22:00:01 +08:00
Mo Helmy 3298d5fb96 Updating code related to the article BAEL-7017 (#15009)
* Update pom.xml

Update pom with the apache dependency

* Update WriteHashmaptoCVSFileUnitTest.java

Adding a new test method to solve the problem using Apache Commons CSV.
2023-10-17 18:59:54 -07:00
Mo Helmy ab62e675ec This commit is related to the article BAEL-7017 (#14985)
This commit aims to add a new test class named "WriteHashmaptoCVSFileUnitTest.java" that explains how to write HashMap to a CSV file.
2023-10-15 15:21:36 -07:00
Kai Yuan 8934c1492f [put-vs-computeIfAbsent] Difference Between putIfAbsent and computeIfAbsent in Java Map (#14977) 2023-10-15 15:27:03 -05:00
Mo Helmy e62aba145b This commit related to the article BAEL-6877 (#14899)
This commit aims to add a new Java module "core-java-collections-maps-7"
2023-10-07 14:53:38 +02:00