Thomas DeWeese:
> > Did Collection.addAll() not work because CompositeGraphicsNode doesn?t
> > implement all of the List interface methods properly, or some other
> > reason?
> 
>    CompositeGraphicsNode didn't implement addAll (it is optional):

Ah yep, of course.

> > And did the addAll() calls for the animation event name sets
> > also not work?
> 
>    No that would have worked. I just liked it better this way.
> If you do that make sure to make the first loop into an addAll
> call as well.  That 'mismatch' is the reason I changed the code. 
> I decided to go back rather than forward...

That’s reasonable.  I agree it is probably quicker to use the explicit
iteration over the array instead of building the List wrapper just so
that addAll() can be used.

-- 
Cameron McCormack ≝ http://mcc.id.au/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to