Re: How to count duplicate items in ArrayList?
- From: "Ook" <Ook Don't send me any freakin' spam at zootal dot com delete the Don't send me any freakin' spam>
- Date: Fri, 19 Jan 2007 20:01:51 -0800
How do you do this? I've looked at the docs and searched, and I can't
find anything explaining how to use this "frequency" method.
I don't think this is the best way to count duplicate items in an array
list, but I'm guessing deepak was referring to this method:
http://java.sun.com/javase/6/docs/api/java/util/Collections.html#frequency(java.util.Collection,%20java.lang.Object)
Ahh, there we go. That is exactly what I was looking for. Actually, that
entire page was what I was missing. Thanks :)
.
- References:
- How to count duplicate items in ArrayList?
- From: Ook
- Re: How to count duplicate items in ArrayList?
- From: lavanya_y2k
- Re: How to count duplicate items in ArrayList?
- From: deepak
- Re: How to count duplicate items in ArrayList?
- From: zootal
- Re: How to count duplicate items in ArrayList?
- From: Oliver Wong
- How to count duplicate items in ArrayList?
- Prev by Date: Re: How to count duplicate items in ArrayList?
- Next by Date: Re: Windows Startup
- Previous by thread: Re: How to count duplicate items in ArrayList?
- Next by thread: Re: How to count duplicate items in ArrayList?
- Index(es):
Relevant Pages
|