[jdom-interest] Suggestion for new methods for the Element class

bob mcwhirter bob at werken.com
Tue Oct 31 07:55:42 PST 2000

I've got to admit, actually, that I was wrong.

It doesn't just hand the internal list out to the user, but rather does
construct a new PartialList, which is a 'live' list.

Please pardon the mis-information.


> True enough, depending on the way the code is organized.  If the Element class
> maintains a java.util.List for its internal structure and simply returns this list when
> the method is called, then the two methods I suggested would only be convenience
> methods rather than performance gains.  I wasn't sure if the List was stored internally
> and simply returned, or if the List was created on the fly when the method was called.
> I guess I could check the source code... :)

More information about the jdom-interest mailing list