I would do:

aCollection removeAll: aCollection

Also, I have Aida in my image and I have:

OrderedCollection>>removeAll
        "remove all elements quickly"
        self become: OrderedCollection new

but not sure this way is good because of #become:. I don't know either
if this will keep your references.

hth

Cédrick
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to