Next: , Previous: , Up: Bag   [Index]


1.8.6 Bag: removing

remove: oldObject ifAbsent: anExceptionBlock

Remove oldObject from the collection and return it. If can’t be found, answer instead the result of evaluationg anExceptionBlock