added isFixedSize query
authorClaus Gittinger <cg@exept.de>
Tue, 25 Jun 2013 13:23:01 +0200
changeset 3013 28d92a912dfa
parent 3012 bc770831871d
child 3014 d9e664b6d2c7
added isFixedSize query
SharedCollection.st
--- a/SharedCollection.st	Tue Jun 25 13:22:58 2013 +0200
+++ b/SharedCollection.st	Tue Jun 25 13:23:01 2013 +0200
@@ -221,13 +221,21 @@
     ^ realCollection species
 ! !
 
+!SharedCollection methodsFor:'testing'!
+
+isFixedSize
+    "return true if the receiver cannot grow"
+
+    ^ realCollection isFixedSize
+! !
+
 !SharedCollection class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/SharedCollection.st,v 1.9 2013-03-19 09:22:28 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/SharedCollection.st,v 1.10 2013-06-25 11:23:01 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic2/SharedCollection.st,v 1.9 2013-03-19 09:22:28 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/SharedCollection.st,v 1.10 2013-06-25 11:23:01 cg Exp $'
 ! !