equal
deleted
inserted
replaced
79 new:sz |
79 new:sz |
80 "create and return a new methodDictionary holding sz |
80 "create and return a new methodDictionary holding sz |
81 key->value associations" |
81 key->value associations" |
82 |
82 |
83 ^ self basicNew:(sz * 2) |
83 ^ self basicNew:(sz * 2) |
84 ! |
|
85 |
|
86 newWithCapacity:size |
|
87 "return a new empty Collection with capacity for n elements." |
|
88 |
|
89 ^ self new:size |
|
90 |
|
91 "Created: / 10-10-2017 / 17:51:14 / stefan" |
|
92 ! |
84 ! |
93 |
85 |
94 withAll:aDictionary |
86 withAll:aDictionary |
95 "create a MethodDictionary from another Dictionary" |
87 "create a MethodDictionary from another Dictionary" |
96 |
88 |