Element occurrence in an ArrayList
807580Apr 24 2010 — edited Apr 25 2010Hi!
Does anyone know what should I use in order to find out how many elements(i.e.objects) are identical in an Array List of objects?
Is there any predefined method in the Array List that does that, except "boolean contains(Object elem)" which identifies weather the element exists or not in the ArrayList?
Any comments are appreciated!
Thanks!
Radu Paltineanu.