[jdom-interest] RE: non-deterministic behaviour
jhunter at collab.net
Thu Apr 12 18:24:51 PDT 2001
"Dreiske, Dale" wrote:
> Here's my feedback in the form of a modified copy of the setMixedContent
> method. After reading through today's digest of the mailing list the answer
> seems too simple; I think I must be missing something. My modification keeps
> the original List until it knows the new one is acceptable; no double
> iteration; no cloning. Did I miss some anything?
The iteration/cloning is necessary for an add() operation, not a set()
operation. Our debate was on how PartialList/FilterList would behave in
its addAll() method.
Your approach here is fine. :-)
More information about the jdom-interest