[Newbies] Re: Object references
ncellier at ifrance.com
Tue Apr 21 15:14:35 UTC 2009
Miguel Enrique Cobá Martínez <miguel.coba <at> gmail.com> writes:
> snip... (sorry, gmane want this)
> The question is. When you have an object that is referenced from many
> places, but only one of them is the correct according to the problem
> domain, how do you manage the adding, removing and updating of the
> object to the other interested?
> Is there a guideline here?
> Thanks for the advise,
> Miguel Cobá
What you need is a WeakArray or some cousin of it.
Browse this class and examples of use.
More information about the Beginners