Hi,
why don't you just iterate over your list and write it into a HashMap -
something like:
HashMap mp = new HashMap();
for(int i=0; i
This isn't very sophisticated, but it should work.
Regards,
Tom
senthil Kumar wrote:
Hi all.,
Could you please help me.
I have one ArrayList called dataList.
it
Hi all.,
Could you please help me.
I have one ArrayList called dataList.
it contains{ 20,10,20,20,10,15,15,15,15} as a String.
Now i need the result of each element appears in how many times like
20==>3
10==>2
15==>4
as a arrayList or Hash Map.
Please help me.
Thanks in advance.
re
2 matches
Mail list logo