J
J
Jypsy2019-07-05 16:43:27
Java
Jypsy, 2019-07-05 16:43:27

How to group a List of Map?

I have List<HashMap>;
The HashMap contains the "sorter" key.
There are 3 sorter types in the whole sheet with a defined value.
For example 3 HashMаp with "sorter" value = 2, 4 HashMаp with "sorter" value = "aa", 4 HashMаp with "sorter" value = "qq";
How can I parse this list into 3 sheets, each with a HashMap with the same "sorter".

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question