[squeak-dev] The Trunk: Collections-bf.612.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Apr 7 12:04:32 UTC 2015
Tobias Pape uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-bf.612.mcz
==================== Summary ====================
Name: Collections-bf.612
Author: bf
Time: 7 April 2015, 2:04:06.99 pm
UUID: 1b9e2fc6-03fb-41c2-a3e8-197fa24c108a
Ancestors: Collections-ul.611
Ensure that copyWith/out retains the weak-ness of a weak array.
=============== Diff against Collections-ul.611 ===============
Item was added:
+ ----- Method: WeakArray>>copyWith: (in category 'copying') -----
+ copyWith: newElement
+ "Re-implemented to not return a strong copy."
+ ^ (super copyWith: newElement) as: self class!
Item was added:
+ ----- Method: WeakArray>>copyWithout: (in category 'copying') -----
+ copyWithout: oldElement
+ "Re-implemented to not return a strong copy."
+ ^ (super copyWithout: oldElement) as: self class!
Item was changed:
+ ----- Method: WeakArray>>species (in category 'private') -----
- ----- Method: WeakArray>>species (in category 'as yet unclassified') -----
species
"More useful to have strongly-referenced results of #select: and #collect:."
^ Array!
More information about the Squeak-dev
mailing list
|