June 29, 2009
12:15 p.m.
Same problem with #removeKey:ifAbsent that doesn't return anything for MethodDictionary ( instead of the value of association removed). 2009/6/29 Cyrille Delaunay <cy.delaunay@gmail.com>
Hi, I'm trying to test all subclasses of Dictionary and I just find a specific behavior for MethodDictionary :
-> #add: return the association that has been added except for SmallDictionary for which #add: return the value of the association.
Is there a reason for such an implementaion?