Next: , Previous: WeakIdentitySet, Up: Base classes


1.213 WeakKeyDictionary

Defined in namespace Smalltalk
Superclass: Dictionary
Category: Collections-Weak
I am similar to a plain Dictionary, but my keys are stored in a weak array; I track which of them are garbage collected and, as soon as I encounter one of them, I swiftly remove all the associations for the garbage collected keys