WeakValueDictionary.st
changeset 2260 96d898c2874d
parent 1790 4187e9fc7357
child 2303 f19df2d4c238
--- 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 $'
 ! !