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.112 MethodDictionary

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

1.112.1 MethodDictionary: adding  (instance)
1.112.2 MethodDictionary: rehashing  (instance)
1.112.3 MethodDictionary: removing  (instance)


1.112.1 MethodDictionary: adding

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


1.112.2 MethodDictionary: rehashing

rehash
Rehash the receiver


1.112.3 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 August, 19 2010 using texi2html