Is it okay to use AbtWeakValueLookupTable and do I need to know anything special?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it okay to use AbtWeakValueLookupTable and do I need to know anything special?

Louis LaBrunda
Hi,

Is it okay to use #AbtWeakValueLookupTable?  Do I need to know or do anything special?  I think I need #AbtWeakValueLookupTable and not #AbtWeakKeyLookupTable as I want to keep instances of the values of a lookup table where the entry in the lookup table goes away once there are no other references to it.

Do I just use #at:put: and friends to put things in the lookup table?

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
Reply | Threaded
Open this post in threaded view
|

Re: Is it okay to use AbtWeakValueLookupTable and do I need to know anything special?

John O'Keefe
Lou -

AbtWeakValueLookupTable was developed for internal use by VA Smalltalk -- that's why all the methods are private.  Your exposure in using it is that there is no committment to the method names or functions like there is with API methods.  It is also possible that the interfaces are not complete since it was implemented to fill the needs of the product itself.

You can see examples of the use of this class in a development image -- it is used to manage bitmaps and icons (and a few other things).