Next: Collection-sorting, Previous: Collection-printing, Up: Collection [Index]
Remove everything from the receiver.
Remove oldObject from the receiver. If absent, fail, else answer oldObject.
Remove oldObject from the receiver. If absent, evaluate anExceptionBlock and answer the result, else answer oldObject.
Remove each object in aCollection, answer aCollection, fail if some of them is absent. Warning: this could leave the collection in a semi-updated state.
Remove each object in aCollection, answer aCollection; if some element is absent, pass it to aBlock.
Remove from the receiver all objects for which aBlock returns true.