<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        <div>> <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">That contents is a dict is implementation detail not to be leaked.</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div>To be fair, there is an actual extension point in #contentsClass. Yet, it remains an implementation detail, hidden from clients. Clients should use #newFrom: or #withAll: to fill a bag with existing contents.<div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div>
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 16.11.2021 11:58:09 schrieb Tobias Pape <das.linux@gmx.de>:</p><div style="font-family:Arial,Helvetica,sans-serif">-1<br><br>this is to my eyes doubtlessly private :)<br>That contents is a dict is implementation detail not to be leaked.<br><br>Best regards<br>    -Tobias<br><br>> On 16. Nov 2021, at 11:28, Marcel Taeumel <marcel.taeumel@hpi.de> wrote:<br>> <br>>> ==================== Summary ====================<br>>> <br>>> Name: Collections-ct.962<br>>> Author: ct<br>>> Time: 13 November 2021, 2:29:12.457577 am<br>>> UUID: 762c672f-abb5-194e-9f54-14cce19aa7f9<br>>> Ancestors: Collections-pre.961<br>>> <br>>> Adds convenience constructor to Bag.<br>>> <br>>> Bag newFromContents: (Dictionary new at: #mon put: 7; at: #tue put: 2; at: #wed put: 4; yourself).<br>>> <br>>> =============== Diff against Collections-pre.961 ===============<br>>> <br>>> Item was added:<br>>> + ----- Method: Bag class>>newFromContents: (in category 'instance creation') -----<br>>> + newFromContents: aDictionary<br>>> + <br>>> + ^ self new setContents: aDictionary!<br><br><br><br></marcel.taeumel@hpi.de></div></blockquote></div>