I am having a string which has some |
delimited value
He run|running|runned quickly, then he|she goes for practice
what is the possible way to place the save the |
separated value in Hashmap
Map<Integer , List<String>>
so that map store for first
1 -> ["run","running","runned"]
2 -> ["he","she"]
How can it be achieved. What is the best to split this string and save the value in Map.