The Trunk: Collections-mt.889.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-mt.889.mcz

commits-2
Marcel Taeumel uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-mt.889.mcz

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

Name: Collections-mt.889
Author: mt
Time: 26 April 2020, 6:45:20.736934 pm
UUID: 2f716cfd-4552-b54e-bfe3-43ac798f8087
Ancestors: Collections-mt.888

Makes BitSet's printString more informative.

=============== Diff against Collections-mt.888 ===============

Item was added:
+ ----- Method: Bitset>>printElementsOn:separatedBy: (in category 'printing') -----
+ printElementsOn: aStream separatedBy: delimiter
+ "Overridden to always inform about the entire set of bits."
+
+ (0 to: self capacity-1)
+ do: [:index | aStream print: (self bitAt: index)]
+ separatedBy: [aStream nextPutAll: delimiter asString].!