OrderedCollection.st
changeset 20354 a671aac9c70d
parent 20341 72ed68b0d0ec
child 20362 fea6b00ed63a
child 21524 d4c86d7c0bfc
--- a/OrderedCollection.st	Wed Sep 07 13:55:59 2016 +0200
+++ b/OrderedCollection.st	Wed Sep 07 15:25:40 2016 +0200
@@ -312,7 +312,6 @@
 ! !
 
 
-
 !OrderedCollection methodsFor:'accessing'!
 
 at:anInteger
@@ -2071,8 +2070,10 @@
 !OrderedCollection methodsFor:'queries'!
 
 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
+     without growing. 
+     Notice, that OCs do automatically resize as required, 
+     so knowing the capacity is of no real use.
      Not used by the system; added for ST-80 compatibility."
 
     ^ contentsArray size