[jdom-interest] Moving Children
jhunter at collab.net
Fri Jun 15 11:49:01 PDT 2001
You can always cast to Object. But it'd do no good. Object's clone()
Eric Rosenberg wrote:
> 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://firstname.lastname@example.org
More information about the jdom-interest