How to sort hashmap?
- by agazerboy
Hi All !
I have hashmap and its keys are like "folder/1.txt,folder/2.txt,folder/3.txt" and value has these text files data.
Now i am stucked. I want to sort this list. But it does not let me do it :(
Here is my hashmap data type:
HashMap<String, ArrayList<String>>
following function work good but it is for arraylist not for…