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

Method category index

adding (instance)
dictionary enumerating (instance)
initialization (instance)
rehashing (instance)
removing (instance)

adding (instance)

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

top


dictionary enumerating (instance)

select: aBlock
Answer a new dictionary containing the key/value pairs for which aBlock returns true. aBlock only receives the value part of the pairs.

top


initialization (instance)

mutex
Not commented.

top


rehashing (instance)

rehash
Rehash the receiver

top


removing (instance)

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

top