Sometimes an image is worth a thousand words. So this image I made may help you.

Also, as Mariano points out, remember that you can convert from one collection to another by sending the message #asCollectionName replacing the CollectionName for the collection you want.

So for example to remove all duplicates from a collection, asSet is a simple and pretty way to do it.

Cheers
--
Alan Rodas Bonjour