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