dcsimg
counting repeat strings in a List.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Charles_Lee
Posted On:   Monday, August 13, 2001 03:09 PM

I have to count the number of repeated strings in a Array List. I have sorted the List using Collections.sort(list). Then I need to see how many repeated strings there is. Say if the list was like this:[ada,ben,ben,charles,john,john]. I need to know how many ada,ben,charles and john there is.

Thank you so much for your time.

Regards
Charles Lee

Re: counting repeat strings in a List.

Posted By:   John_Zukowski  
Posted On:   Monday, August 13, 2001 06:52 PM

Do your own homework.
About | Sitemap | Contact