DependentsArray size how does it work ?
Boris Gaertner
Boris.Gaertner at gmx.net
Wed Feb 8 21:58:43 UTC 2006
From: "nicolas cellier" <ncellier at ifrance.com>
> One more question on dependents: how will DependentsArray have nil
elements ?
DependentArray is a weak subclass; you can see that in the class
definition:
Array weakSubclass: #DependentsArray
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Kernel-Objects'
An element of a weak array is automatically replaced with nil when it
becomes unreachable.This is one of the services of the garbage
collector.
Greetings
Boris
More information about the Squeak-dev
mailing list
|