#DOCUMENTATION by cg
class: MappedCollection
comment/format in:
#species
#speciesForAdding
--- 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$'
! !