class: Collection
authorClaus Gittinger <cg@exept.de>
Sat, 01 Mar 2014 14:41:07 +0100
changeset 16172 68c4859fc136
parent 16171 886b698e5f10
child 16173 2a98fe2d4cef
class: Collection comment/format in: #flatten #gather: #gather:as: changed: #flatCollect: (send #writeStream instead of #nsWriteStream) #flatCollectAsSet:
Collection.st
--- a/Collection.st	Sat Mar 01 14:36:36 2014 +0100
+++ b/Collection.st	Sat Mar 01 14:41:07 2014 +0100
@@ -259,6 +259,7 @@
     ^ self withSize:n
 ! !
 
+
 !Collection class methodsFor:'Signal constants'!
 
 emptyCollectionSignal
@@ -416,7 +417,7 @@
 
 gather:aBlock
     "return an Array,
-     containing all elements as returned from applying aBlock to each element if the receiver,
+     containing all elements as returned from applying aBlock to each element of the receiver,
      where the block returns a collection of to-be-added elements.
      This could also be called: collectAllAsArray:"
 
@@ -429,7 +430,7 @@
 
 gather:aBlock as:aClass
     "return an instance of the collection-class aClass,
-     containing all elements as returned from applying aBlock to each element if the receiver.
+     containing all elements as returned from applying aBlock to each element of the receiver.
      where the block returns a collection of to-be-added elements.
      This could also be called: collectAll:as:"
 
@@ -530,6 +531,7 @@
     ].
 ! !
 
+
 !Collection methodsFor:'accessing'!
 
 anElement
@@ -5427,11 +5429,11 @@
 !Collection class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.329 2014-02-19 16:08:19 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.330 2014-03-01 13:41:07 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.329 2014-02-19 16:08:19 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.330 2014-03-01 13:41:07 cg Exp $'
 ! !