diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index c1f674d39e..b00cdc2dd1 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -7,12 +7,17 @@
+
+
+
+
+
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index 0cd0cea4ac..6ab87fde96 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,6 +1,9 @@
+
+
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 17e19eb41d..94bf04de8e 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -4,6 +4,8 @@
diff --git a/.idea/modules.xml b/.idea/modules.xml
index d29913b7c7..ca48a0f8ca 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -4,6 +4,9 @@
+
+
+
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
new file mode 100644
index 0000000000..797acea53e
--- /dev/null
+++ b/.idea/runConfigurations.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f915e30643..b801c976d4 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,8 +5,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -14,6 +38,11 @@
+
+
+
@@ -24,13 +53,27 @@
+
+
+
+
+
+
+
-
-
+
+
+
-
+
+
+
+
+
+
+
@@ -42,6 +85,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -52,6 +132,7 @@
1619410137650
+
1619410303516
@@ -76,6 +157,7 @@
+
diff --git a/java-collections-conversions-2/README.md b/java-collections-conversions-2/README.md
new file mode 100644
index 0000000000..83b3ec8786
--- /dev/null
+++ b/java-collections-conversions-2/README.md
@@ -0,0 +1,12 @@
+## Java Collections Cookbooks and Examples
+
+This module contains articles about conversions among Collection types and arrays in Java.
+
+### Relevant Articles:
+
+- [Array to String Conversions](https://www.baeldung.com/java-array-to-string)
+- [Mapping Lists with ModelMapper](https://www.baeldung.com/java-modelmapper-lists)
+- [Converting List to Map With a Custom Supplier](https://www.baeldung.com/list-to-map-supplier)
+- [Arrays.asList vs new ArrayList(Arrays.asList())](https://www.baeldung.com/java-arrays-aslist-vs-new-arraylist)
+- [Iterate Over a Set in Java](https://www.baeldung.com/java-iterate-set)
+- More articles: [[<-- prev]](../java-collections-conversions)
diff --git a/java-collections-conversions-2/pom.xml b/java-collections-conversions-2/pom.xml
new file mode 100644
index 0000000000..de551d756a
--- /dev/null
+++ b/java-collections-conversions-2/pom.xml
@@ -0,0 +1,64 @@
+
+
+ 4.0.0
+ java-collections-conversions-2
+ 0.1.0-SNAPSHOT
+ java-collections-conversions-2
+ jar
+
+
+ com.ossez
+ parent-java
+ 0.0.2-SNAPSHOT
+ ../parent-java
+
+
+
+
+ org.assertj
+ assertj-core
+ 3.17.2
+ test
+
+
+ org.apache.commons
+ commons-lang3
+ ${commons-lang3.version}
+
+
+ org.modelmapper
+ modelmapper
+ ${modelmapper.version}
+
+
+ junit
+ junit
+ ${junit.version}
+ test
+
+
+ org.hamcrest
+ hamcrest
+ ${hamcrest.version}
+ test
+
+
+ io.vavr
+ vavr
+ 0.10.3
+
+
+
+
+ java-collections-conversions-2
+
+
+ src/main/resources
+ true
+
+
+
+
+
\ No newline at end of file
diff --git a/java-collections-conversions-2/src/main/java/com/baeldung/convertlisttomap/ListToMapConverter.java b/java-collections-conversions-2/src/main/java/com/baeldung/convertlisttomap/ListToMapConverter.java
new file mode 100644
index 0000000000..8450f54f9d
--- /dev/null
+++ b/java-collections-conversions-2/src/main/java/com/baeldung/convertlisttomap/ListToMapConverter.java
@@ -0,0 +1,70 @@
+package com.baeldung.convertlisttomap;
+
+import java.util.List;
+import java.util.Map;
+import java.util.function.BiConsumer;
+import java.util.function.BinaryOperator;
+import java.util.function.Function;
+import java.util.function.Supplier;
+import java.util.stream.Collectors;
+
+/**
+ * Convert a string list to a map whose key is the string's length and value is the collection with same length.
+ * Give a list {"Baeldung", "is", "very", "cool"}.
+ * After conversion we'll get a map like:
+ * {8 : ["Baeldung"], 2 : ["is"], 4 : ["very", "cool"]}.
+ *
+ * @author leasy.zhang
+ *
+ */
+public class ListToMapConverter {
+
+ public Map> groupingByStringLength(List source,
+ Supplier
+ *
+ * @author YuCheng
+ */
+
+ /*Line 1
+ Line 2
+ Line 3*/
+
public class ArrayToListConversionUnitTest {
@Test(expected = UnsupportedOperationException.class)
diff --git a/parent-java/pom.xml b/parent-java/pom.xml
index aad1572729..08dcf7ecf1 100644
--- a/parent-java/pom.xml
+++ b/parent-java/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.ossez
parent-java
- 0.0.1-SNAPSHOT
+ 0.0.2-SNAPSHOT
parent-java
Parent for all java modules
pom
@@ -11,7 +11,7 @@
com.ossez
parent-modules
- 0.0.1
+ 0.0.2-SNAPSHOT
diff --git a/pom.xml b/pom.xml
index e71dbf6beb..cc3d3bf7ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,6 +39,7 @@
+ parent-java
toolkits
@@ -77,6 +78,7 @@
1.9.0
+ 2.4.4
diff --git a/toolkits/codebank/pom.xml b/toolkits/codebank/pom.xml
index e9ff9aadc8..51e2342e48 100644
--- a/toolkits/codebank/pom.xml
+++ b/toolkits/codebank/pom.xml
@@ -11,7 +11,7 @@
com.ossez
parent-java
- 0.0.1-SNAPSHOT
+ 0.0.2-SNAPSHOT
../../parent-java
diff --git a/toolkits/discourse/pom.xml b/toolkits/discourse/pom.xml
index 40dca25e9e..ab4642b1a5 100644
--- a/toolkits/discourse/pom.xml
+++ b/toolkits/discourse/pom.xml
@@ -11,7 +11,7 @@
com.ossez
parent-java
- 0.0.1-SNAPSHOT
+ 0.0.2-SNAPSHOT
../../parent-java