Back: MethodContext-printing Up: Base classes Forward: MethodDictionary-adding   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.113 MethodDictionary

Defined in namespace Smalltalk
Superclass: IdentityDictionary
Category: Language-Implementation
I am similar to an IdentityDictionary, except that removal and rehashing operations inside my instances look atomic to the interpreter.

1.113.1 MethodDictionary: adding  (instance)
1.113.2 MethodDictionary: initialization  (instance)
1.113.3 MethodDictionary: rehashing  (instance)
1.113.4 MethodDictionary: removing  (instance)


1.113.1 MethodDictionary: adding

at: key put: value
Store value as associated to the given key


1.113.2 MethodDictionary: initialization

mutex
Not commented.


1.113.3 MethodDictionary: rehashing

rehash
Rehash the receiver


1.113.4 MethodDictionary: removing

remove: anAssociation
Remove anAssociation's key from the dictionary

removeKey: anElement ifAbsent: aBlock
Remove the passed key from the dictionary, answer the result of evaluating aBlock if it is not found



Back: MethodDictionary-rehashing Up: MethodDictionary Forward: MethodInfo   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on February, 22 2012 using texi2html