The Trunk: Collections-ul.749.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-ul.749.mcz

commits-2
Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.749.mcz

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

Name: Collections-ul.749
Author: ul
Time: 24 April 2017, 1:00:31.346232 pm
UUID: 455e6beb-40fe-41a4-a35e-675211c77f10
Ancestors: Collections-ul.748

- rewrote senders of #clone to use #shallowCopy

=============== Diff against Collections-ul.748 ===============

Item was changed:
  ----- Method: FloatArray>>* (in category 'arithmetic') -----
  * anObject
+
+ ^self shallowCopy *= anObject!
- ^self clone *= anObject!

Item was changed:
  ----- Method: FloatArray>>+ (in category 'arithmetic') -----
  + anObject
+
+ ^self shallowCopy += anObject!
- ^self clone += anObject!

Item was changed:
  ----- Method: FloatArray>>- (in category 'arithmetic') -----
  - anObject
+
+ ^self shallowCopy -= anObject!
- ^self clone -= anObject!

Item was changed:
  ----- Method: FloatArray>>/ (in category 'arithmetic') -----
  / anObject
+
+ ^self shallowCopy /= anObject!
- ^self clone /= anObject!

Item was changed:
  ----- Method: FloatArray>>negated (in category 'arithmetic') -----
  negated
+
+ ^self shallowCopy *= -1!
- ^self clone *= -1!