Set.st
branchjv
changeset 20362 fea6b00ed63a
parent 20244 20922299fd44
parent 20356 0126bd94776d
child 25382 c7092e143d68
--- a/Set.st	Wed Sep 07 13:50:10 2016 +0100
+++ b/Set.st	Thu Sep 08 06:45:58 2016 +0200
@@ -1311,8 +1311,9 @@
 !Set methodsFor:'testing'!
 
 capacity 
-    "return the number of elements, that the receiver is
-     prepared to take.
+    "return the number of elements, that the receiver is prepared to take w.o. resizing.
+     Notice, that Sets do automatically resize as required, 
+     so knowing the capacity is of no real use.
      Not used by the system; added for ST-80 compatibility."
 
     ^ keyArray size