[BUG]Collection>>removeAll:

Jon Hylands jon at huv.com
Tue Aug 20 02:49:58 UTC 2002


On Tue, 20 Aug 2002 10:37:29 +1200 (NZST), "Richard A. O'Keefe"
<ok at cs.otago.ac.nz> wrote:

> If it is the CONTENTS of aCollection, then my code (which differs from
> Chris Norton's only in returning itemsToRemove) is the right way to go.

I agree completely. The identity of the collection is irrelevant -- what is
important is that the method returns a collection containing the exact
elements that were removed.

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com



More information about the Squeak-dev mailing list