May 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Archives
- October 2013 (1)
- September 2010 (2)
- April 2010 (1)
- February 2010 (1)
- November 2009 (2)
- September 2009 (3)
- August 2009 (3)
- July 2009 (2)
- June 2009 (3)
- May 2009 (1)
- April 2009 (5)
Tag Archives: ArrayList
Retrieving unique items from a List in Java
Here is a very simple and efficient way to retrieve unique items from a java.util.List. All you need to do is put all the items in the java.util.List into a java.util.Set and then create a new java.util.Listfrom the Set. Since … Continue reading