class: Collection
comment/format in:
#flatten
#gather:
#gather:as:
changed:
#flatCollect: (send #writeStream instead of #nsWriteStream)
#flatCollectAsSet:
--- 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 $'
! !