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.16 date: 2016/06/27 22:31:45
user: stefan
file: WeakDependencyDictionary.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


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


Related information:

    WeakArray
    WeakIdentityDictionary
    WeakValueDictionary
    WeakIdentitySet

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.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 23 Jul 2018 11:35:56 GMT