--- a/OrderedCollection.st Tue Aug 22 15:47:22 2000 +0200
+++ b/OrderedCollection.st Tue Aug 22 15:49:36 2000 +0200
@@ -1674,25 +1674,6 @@
^ contentsArray size
!
-isEmpty
- "return true, if the receiver has no elements"
-
- ^ lastIndex < firstIndex
-!
-
-isFixedSize
- "return true if the receiver cannot grow - this will vanish once
- Arrays and Strings learn how to grow ..."
-
- ^ false
-!
-
-notEmpty
- "return true, if the receiver has any elements"
-
- ^ lastIndex >= firstIndex
-!
-
size
"return the number of elements in the collection"
@@ -1804,6 +1785,19 @@
"Modified: 12.4.1996 / 17:57:09 / cg"
!
+isEmpty
+ "return true, if the receiver has no elements"
+
+ ^ lastIndex < firstIndex
+!
+
+isFixedSize
+ "return true if the receiver cannot grow - this will vanish once
+ Arrays and Strings learn how to grow ..."
+
+ ^ false
+!
+
isOrderedCollection
"return true, if the receiver is some kind of ordered collection (or list etc);
true is returned here - the method is only redefined in Object."
@@ -1811,10 +1805,16 @@
^ true
+!
+
+notEmpty
+ "return true, if the receiver has any elements"
+
+ ^ lastIndex >= firstIndex
! !
!OrderedCollection class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/OrderedCollection.st,v 1.76 2000-08-09 14:17:49 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/OrderedCollection.st,v 1.77 2000-08-22 13:49:01 cg Exp $'
! !