MethodDictionary.st
changeset 25376 88a3329875ba
parent 24815 6c60da5b8b14
equal deleted inserted replaced
25375:b784fc06a5eb 25376:88a3329875ba
    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