|
Class: WeakDependencyDictionary
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
A specialized WeakIdentityDictionary, which 'knowns' how
to get rid of obsolete entries. This is only used with the
dependency mechanism.
copyrightCOPYRIGHT (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.
private
-
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
-
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
|
|