eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WeakDependencyDictionary':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: WeakDependencyDictionary


Inheritance:

   Object
   |
   +--Collection
      |
      +--Set
         |
         +--Dictionary
            |
            +--IdentityDictionary
               |
               +--WeakIdentityDictionary
                  |
                  +--WeakDependencyDictionary

Package:
stx:libbasic
Category:
Collections-Weak
Version:
rev: 1.17 date: 2021/01/20 14:27:45
user: cg
file: WeakDependencyDictionary.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


A specialized WeakIdentityDictionary, which 'knowns' how
to get rid of obsolete entries. This is only used with the
dependency mechanism.

copyright

COPYRIGHT (c) 1997 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Instance protocol:

private
o  keyContainerOfSize: n
return a container for keys of size n.
use WeakArrays here, but don't make me a dependent of it.

special dependency support
o  removeEmptyDependencyValues
special entry for dependency management:
remove any empty (due to finalization) value WeakArray elements.

Usage example(s):

'removeEmptyDependencyValues ...' printCR.

Usage example(s):

     Dependencies removeEmptyDependencyValues



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 24 Nov 2024 04:23:18 GMT