j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
"Andreas Raab" Andreas.Raab@gmx.de wrote: So, for example, it would be trivial to rewrite Dictionary>>keysSortedSafely ^SortedCollection withAll: self keys sortBlock:[...] SortedCollection class>>withAll: aCollection sortBlock: aBlock "Answer an instance of me such that its elements are sorted according to the criterion specified in aBlock." ^(super new: aCollection size) sortBlock: aBlock; addAll: aCollection which is much more readable anyways
There's no doubt about that. Can we please have this method added to SortedCollection class? Pretty please?
squeak-dev@lists.squeakfoundation.org