[squeak-dev] The Trunk: Collections-nice.386.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 1 20:37:56 UTC 2010


Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.386.mcz

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

Name: Collections-nice.386
Author: nice
Time: 1 October 2010, 10:37:30.237 pm
UUID: 14bfeb25-a255-4838-87d4-4c4dccac4b2d
Ancestors: Collections-nice.385

Remove #hashMappedBy: and #identityHashMappedBy:

=============== Diff against Collections-nice.385 ===============

Item was removed:
- ----- Method: Array>>hashMappedBy: (in category 'comparing') -----
- hashMappedBy: map
- 	"Answer what my hash would be if oops changed according to map."
- 
- 	self size = 0 ifTrue: [^self hash].
- 	^(self first hashMappedBy: map) + (self last hashMappedBy: map)!

Item was removed:
- ----- Method: Interval>>hashMappedBy: (in category 'comparing') -----
- hashMappedBy: map
- 	"My hash is independent of my oop."
- 
- 	^self hash!

Item was removed:
- ----- Method: LookupKey>>hashMappedBy: (in category 'comparing') -----
- hashMappedBy: map
- 	"Answer what my hash would be if oops changed according to map."
- 
- 	^key hashMappedBy: map!

Item was removed:
- ----- Method: LookupKey>>identityHashMappedBy: (in category 'comparing') -----
- identityHashMappedBy: map
- 	"Answer what my hash would be if oops changed according to map."
- 
- 	^ key identityHashMappedBy: map!

Item was removed:
- ----- Method: String>>hashMappedBy: (in category 'comparing') -----
- hashMappedBy: map
- 	"My hash is independent of my oop."
- 
- 	^self hash!

Item was removed:
- ----- Method: WeakKeyAssociation>>hashMappedBy: (in category 'comparing') -----
- hashMappedBy: map
- 	"Answer what my hash would be if oops changed according to map."
- 
- 	^self key hashMappedBy: map!

Item was removed:
- ----- Method: WeakKeyAssociation>>identityHashMappedBy: (in category 'comparing') -----
- identityHashMappedBy: map
- 	"Answer what my hash would be if oops changed according to map."
- 
- 	^ self key identityHashMappedBy: map!




More information about the Squeak-dev mailing list