You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Stephen Colebourne <sc...@btopenworld.com> on 2004/12/01 11:44:11 UTC
Re: [Collections] deep cloning
No, because the JDK collections API doesn't feature cloning as part of its
standard functions.
You could try commons-lang SerializationUtils clone. That will do what you
want, just a little slowly.
Stephen
----- Original Message -----
From: "Edgar Poce" <ep...@fibertel.com.ar>
> hi
> is there any method in the package that clones a Collection and
> returns a new Collection wich contains a clone of each element?.
>
> Thanks in advance
> Edgar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org