commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pablo Nussembaum" <pnussemb...@datatransfer.com.ar>
Subject RE: Removing duplicates from a Collection
Date Mon, 12 May 2003 13:59:32 GMT
If don't care about the order of the elements you could convert the list
to a HashSet

-----Mensaje original-----
De: Adam Sherman [mailto:adam@tritus.ca] 
Enviado el: Lunes, 12 de Mayo de 2003 10:28
Para: commons-user@jakarta.apache.org
Asunto: Removing duplicates from a Collection


Is there a class in commons to remove duplicates from a List?

Thanks,

A.

--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message