--- a/Queue.st Sun Feb 10 14:51:30 2019 +0100
+++ b/Queue.st Sun Feb 10 14:54:48 2019 +0100
@@ -710,6 +710,19 @@
^ contentsArray size
!
+isEmpty
+ "return true, if there are no elements in the queue"
+
+ ^ tally == 0
+!
+
+isFull
+ "return true, if the queue is full i.e. if writing is not
+ possible"
+
+ ^ tally == contentsArray size
+!
+
size
"return the number of elements in the queue"
@@ -724,23 +737,10 @@
!Queue methodsFor:'testing'!
-isEmpty
- "return true, if there are no elements in the queue"
-
- ^ 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"
-
- ^ tally == contentsArray size
! !
!Queue class methodsFor:'documentation'!