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" <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to