comment
authorClaus Gittinger <cg@exept.de>
Sun, 23 Aug 2009 11:21:08 +0200
changeset 11870 4b19d87d7335
parent 11869 07f3ec995c05
child 11871 291e7089ace5
comment
SequenceableCollection.st
--- a/SequenceableCollection.st	Wed Aug 19 20:32:26 2009 +0200
+++ b/SequenceableCollection.st	Sun Aug 23 11:21:08 2009 +0200
@@ -358,7 +358,6 @@
     ^ self == SequenceableCollection
 ! !
 
-
 !SequenceableCollection methodsFor:'Compatibility-Squeak'!
 
 allButFirst
@@ -3796,7 +3795,9 @@
 !
 
 collect:aBlock as:aClass
-    "like collect, but use an instance of aClass to collect the results."
+    "like collect, but use an instance of aClass to collect the results.
+     Also avoids the need for an extra intermediate collection which is created with
+     the standard coding: 'self asXXXX collect:[...]"
 
     |newCollection
      sz  "{ Class:SmallInteger }"|
@@ -7569,7 +7570,7 @@
 !SequenceableCollection class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/SequenceableCollection.st,v 1.273 2009-08-14 20:36:06 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/SequenceableCollection.st,v 1.274 2009-08-23 09:21:08 cg Exp $'
 ! !
 
 SequenceableCollection initialize!