[jdom-interest] Moving Children

Eric Rosenberg eric at computerwizards.com
Fri Jun 15 11:44:04 PDT 2001


Couldn't you cast to Object?

>
> If you do the constructor above, then the clear() on the new list won't
> change the backing list.  It'd work if you cast it to a LinkedList, but
> that makes you dependent on the current List choice which is going to
> change.  Too bad Cloneable doesn't have a clone() method.  If it did,
> you could cast to Cloneable.
>
> Looks like writing a little utility method may be your most elegant
> solution.
>
> -jh-
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com




More information about the jdom-interest mailing list