Peter,
several approaches have been shown already. I'd like to add:
* Iterate over a copy and remove from the original (slower because
of lookup in the original)
* If possible, sort the collection and use something like [col
atEnd] whileTrue:/whileFalse: with removeFirst/removeLast
* Select: a collection of items to be removed and then do a
removeAll:
* Use #- to remove one collection from the other
* Iterate over the original and add only the wanted objects to a
new collection which will then be used in the future - Streams may
be helpful here
* I have never used XStreams, but there may even be some nice
options to find in it
HTH
Joachim
Am 02.04.15 um 09:33 schrieb Peter Uhn��k: