equal
deleted
inserted
replaced
426 |
426 |
427 "Modified: / 16.11.2001 / 10:14:24 / cg" |
427 "Modified: / 16.11.2001 / 10:14:24 / cg" |
428 ! |
428 ! |
429 |
429 |
430 removeAll |
430 removeAll |
431 "remove all elements from the receiver. Returns the receiver." |
431 "remove all elements from the receiver and resize (shrink) the underlying container. |
|
432 Returns the receiver. |
|
433 Similar to clearContents, which but might behave better, |
|
434 if the receiver is to be filled again afterwards." |
432 |
435 |
433 self initializeForCapacity:7. |
436 self initializeForCapacity:7. |
434 |
437 |
435 "Modified: 12.4.1996 / 13:35:06 / cg" |
438 "Modified: / 12-04-1996 / 13:35:06 / cg" |
|
439 "Modified (comment): / 06-02-2017 / 12:56:14 / cg" |
436 ! |
440 ! |
437 |
441 |
438 removeIdentical:oldObjectArg ifAbsent:exceptionBlock |
442 removeIdentical:oldObjectArg ifAbsent:exceptionBlock |
439 "remove oldObject from the collection and return it. |
443 "remove oldObject from the collection and return it. |
440 If it was not in the collection return the value of exceptionBlock. |
444 If it was not in the collection return the value of exceptionBlock. |