How to count unique elements in Arraylist?
in
Programming Questions
•
2 years ago
Hi there guys :D
Is there anyway to count unique element in arraylist? I have a number of elements inside an arraylist and I want to count the frequency of each element's appearance. I understand that there's a method such as frequency for Java, but I don't know how to do this natively in Processing.
Thanks for your help :D
Cheers
Is there anyway to count unique element in arraylist? I have a number of elements inside an arraylist and I want to count the frequency of each element's appearance. I understand that there's a method such as frequency for Java, but I don't know how to do this natively in Processing.
Thanks for your help :D
Cheers
1