doku
authorClaus Gittinger <cg@exept.de>
Fri, 24 Jan 1997 21:54:29 +0100
changeset 2260 96d898c2874d
parent 2259 685b96fb41b6
child 2261 61096f935f76
doku
WeakIdDict.st
WeakIdSet.st
WeakIdentityDictionary.st
WeakIdentitySet.st
WeakVDict.st
WeakValueDictionary.st
--- a/WeakIdDict.st	Fri Jan 24 21:53:11 1997 +0100
+++ b/WeakIdDict.st	Fri Jan 24 21:54:29 1997 +0100
@@ -10,8 +10,6 @@
  hereby transferred.
 "
 
-'From Smalltalk/X, Version:3.1.3 on 7-jan-1997 at 17:23:20'                     !
-
 IdentityDictionary subclass:#WeakIdentityDictionary
 	instanceVariableNames:''
 	classVariableNames:''
@@ -51,6 +49,12 @@
     release. Using a WeakDictionary may be incompatible to ST-80 but is much
     more comfortable, since no manual release of dependents is needed.
 
+    If you use this, be very careful since the collections size changes
+    'magically' - for example, testing for being nonEmpty and then
+    removing the first element may fail, since the element may vanish inbetween.
+    In general, never trust the value as returned by the size/isEmpty messages.
+
+
     [author:]
         Claus Gittinger
 
@@ -155,5 +159,5 @@
 !WeakIdentityDictionary class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Attic/WeakIdDict.st,v 1.23 1997-01-08 19:42:15 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Attic/WeakIdDict.st,v 1.24 1997-01-24 20:54:21 cg Exp $'
 ! !
--- a/WeakIdSet.st	Fri Jan 24 21:53:11 1997 +0100
+++ b/WeakIdSet.st	Fri Jan 24 21:54:29 1997 +0100
@@ -45,6 +45,12 @@
     prevent objects from dying. (i.e. which do not fill up your memory
     if you forget to #release it).
 
+    If you use this, be very careful since the collections size changes
+    'magically' - for example, testing for being nonEmpty and then
+    removing the first element may fail, since the element may vanish inbetween.
+    In general, never trust the value as returned by the size/isEmpty messages.
+
+
     [author:]
         Claus Gittinger
 
@@ -188,5 +194,5 @@
 !WeakIdentitySet class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Attic/WeakIdSet.st,v 1.22 1997-01-09 00:32:33 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Attic/WeakIdSet.st,v 1.23 1997-01-24 20:54:09 cg Exp $'
 ! !
--- a/WeakIdentityDictionary.st	Fri Jan 24 21:53:11 1997 +0100
+++ b/WeakIdentityDictionary.st	Fri Jan 24 21:54:29 1997 +0100
@@ -10,8 +10,6 @@
  hereby transferred.
 "
 
-'From Smalltalk/X, Version:3.1.3 on 7-jan-1997 at 17:23:20'                     !
-
 IdentityDictionary subclass:#WeakIdentityDictionary
 	instanceVariableNames:''
 	classVariableNames:''
@@ -51,6 +49,12 @@
     release. Using a WeakDictionary may be incompatible to ST-80 but is much
     more comfortable, since no manual release of dependents is needed.
 
+    If you use this, be very careful since the collections size changes
+    'magically' - for example, testing for being nonEmpty and then
+    removing the first element may fail, since the element may vanish inbetween.
+    In general, never trust the value as returned by the size/isEmpty messages.
+
+
     [author:]
         Claus Gittinger
 
@@ -155,5 +159,5 @@
 !WeakIdentityDictionary class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/WeakIdentityDictionary.st,v 1.23 1997-01-08 19:42:15 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/WeakIdentityDictionary.st,v 1.24 1997-01-24 20:54:21 cg Exp $'
 ! !
--- a/WeakIdentitySet.st	Fri Jan 24 21:53:11 1997 +0100
+++ b/WeakIdentitySet.st	Fri Jan 24 21:54:29 1997 +0100
@@ -45,6 +45,12 @@
     prevent objects from dying. (i.e. which do not fill up your memory
     if you forget to #release it).
 
+    If you use this, be very careful since the collections size changes
+    'magically' - for example, testing for being nonEmpty and then
+    removing the first element may fail, since the element may vanish inbetween.
+    In general, never trust the value as returned by the size/isEmpty messages.
+
+
     [author:]
         Claus Gittinger
 
@@ -188,5 +194,5 @@
 !WeakIdentitySet class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/WeakIdentitySet.st,v 1.22 1997-01-09 00:32:33 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/WeakIdentitySet.st,v 1.23 1997-01-24 20:54:09 cg Exp $'
 ! !
--- a/WeakVDict.st	Fri Jan 24 21:53:11 1997 +0100
+++ b/WeakVDict.st	Fri Jan 24 21:54:29 1997 +0100
@@ -42,6 +42,12 @@
     the Dictionary will return nil for the value at position key.
     (with some delay: it will be removed after the next garbage collect).
 
+    If you use this, be very careful since the collections size changes
+    'magically' - for example, testing for being nonEmpty and then
+    removing the first element may fail, since the element may vanish inbetween.
+    In general, never trust the value as returned by the size/isEmpty messages.
+
+
     [author:]
         Stefan Vogel
 
@@ -135,5 +141,5 @@
 !WeakValueDictionary class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Attic/WeakVDict.st,v 1.4 1996-10-20 15:23:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Attic/WeakVDict.st,v 1.5 1997-01-24 20:54:29 cg Exp $'
 ! !
--- a/WeakValueDictionary.st	Fri Jan 24 21:53:11 1997 +0100
+++ b/WeakValueDictionary.st	Fri Jan 24 21:54:29 1997 +0100
@@ -42,6 +42,12 @@
     the Dictionary will return nil for the value at position key.
     (with some delay: it will be removed after the next garbage collect).
 
+    If you use this, be very careful since the collections size changes
+    'magically' - for example, testing for being nonEmpty and then
+    removing the first element may fail, since the element may vanish inbetween.
+    In general, never trust the value as returned by the size/isEmpty messages.
+
+
     [author:]
         Stefan Vogel
 
@@ -135,5 +141,5 @@
 !WeakValueDictionary class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/WeakValueDictionary.st,v 1.4 1996-10-20 15:23:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/WeakValueDictionary.st,v 1.5 1997-01-24 20:54:29 cg Exp $'
 ! !