#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Sat, 04 Jun 2016 04:27:55 +0200
changeset 3862 d8bdc6819c50
parent 3861 694e93011ca8
child 3863 1ad2dc0cb100
#DOCUMENTATION by cg class: MappedCollection comment/format in: #species #speciesForAdding
MappedCollection.st
--- a/MappedCollection.st	Sat Jun 04 04:25:49 2016 +0200
+++ b/MappedCollection.st	Sat Jun 04 04:27:55 2016 +0200
@@ -11,6 +11,8 @@
 "
 "{ Package: 'stx:libbasic2' }"
 
+"{ NameSpace: Smalltalk }"
+
 Collection subclass:#MappedCollection
 	instanceVariableNames:'domain map'
 	classVariableNames:''
@@ -183,16 +185,22 @@
 !
 
 species
+    "return the type of collection to be returned by collect, select etc."
+
     ^ domain species
 !
 
 speciesForAdding
+    "like species, but redefined for collections which cannot grow easily.
+     Used by functions which create a growing collection 
+     (see collect:with:, for example)"
+
     ^ domain speciesForAdding
 ! !
 
 !MappedCollection class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/MappedCollection.st,v 1.21 2013-06-25 11:23:52 cg Exp $'
+    ^ '$Header$'
 ! !