[squeak-dev] The Trunk: Collections-ul.260.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 23 11:29:08 UTC 2009

Levente Uzonyi uploaded a new version of Collections to project The Trunk:

==================== Summary ====================

Name: Collections-ul.260
Author: ul
Time: 23 December 2009, 12:23:32 pm
UUID: de4b02f8-b0aa-5e47-93f7-4a3e3c300060
Ancestors: Collections-ul.259

- make sure that SortedCollection's #sort and #sort: update the sortBlock

=============== Diff against Collections-ul.259 ===============

Item was added:
+ ----- Method: SortedCollection>>sort: (in category 'sorting') -----
+ sort: aSortBlock 
+ 	"Sort this collection using aSortBlock. The block should take two arguments
+ 	and return true if the first element should preceed the second one.
+ 	If aSortBlock is nil then <= is used for comparison."
+ 	super sort: aSortBlock.
+ 	sortBlock := aSortBlock!

More information about the Squeak-dev mailing list