added isFixedSize query
authorClaus Gittinger <cg@exept.de>
Tue, 25 Jun 2013 13:24:04 +0200
changeset 3021 1c303429ca85
parent 3020 a88b56ea6629
child 3022 869f18437363
added isFixedSize query
Queue.st
--- a/Queue.st	Tue Jun 25 13:23:58 2013 +0200
+++ b/Queue.st	Tue Jun 25 13:24:04 2013 +0200
@@ -476,6 +476,12 @@
     ^ tally == 0
 !
 
+isFixedSize
+    "return true if the receiver cannot grow"
+
+    ^ false
+!
+
 isFull
     "return true, if the queue is full i.e. if writing is not
      possible"
@@ -486,9 +492,10 @@
 !Queue class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/Queue.st,v 1.35 2009-12-02 22:15:05 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Queue.st,v 1.36 2013-06-25 11:24:04 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic2/Queue.st,v 1.35 2009-12-02 22:15:05 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Queue.st,v 1.36 2013-06-25 11:24:04 cg Exp $'
 ! !
+