[squeak-dev] The Inbox: Collections-ct.962.mcz
Tobias Pape
Das.Linux at gmx.de
Tue Nov 16 10:57:55 UTC 2021
-1
this is to my eyes doubtlessly private :)
That contents is a dict is implementation detail not to be leaked.
Best regards
-Tobias
> On 16. Nov 2021, at 11:28, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
>
>> ==================== Summary ====================
>>
>> Name: Collections-ct.962
>> Author: ct
>> Time: 13 November 2021, 2:29:12.457577 am
>> UUID: 762c672f-abb5-194e-9f54-14cce19aa7f9
>> Ancestors: Collections-pre.961
>>
>> Adds convenience constructor to Bag.
>>
>> Bag newFromContents: (Dictionary new at: #mon put: 7; at: #tue put: 2; at: #wed put: 4; yourself).
>>
>> =============== Diff against Collections-pre.961 ===============
>>
>> Item was added:
>> + ----- Method: Bag class>>newFromContents: (in category 'instance creation') -----
>> + newFromContents: aDictionary
>> +
>> + ^ self new setContents: aDictionary!
More information about the Squeak-dev
mailing list
|