category change
authorClaus Gittinger <cg@exept.de>
Tue, 22 Aug 2000 15:57:19 +0200
changeset 906 30c1ab2aee8d
parent 905 d6fced2d6d12
child 907 4ef63236d698
category change
BooleanArray.st
DirectoryContents.st
MappedCollection.st
RunArray.st
--- a/BooleanArray.st	Tue Aug 22 15:52:00 2000 +0200
+++ b/BooleanArray.st	Tue Aug 22 15:57:19 2000 +0200
@@ -188,12 +188,6 @@
 
     "Modified: / 31.7.1997 / 18:37:35 / cg"
     "Modified: / 23.5.1999 / 20:02:42 / stefan"
-!
-
-size
-    "return the size of the receiver"
-
-    ^ tally
 ! !
 
 !BooleanArray methodsFor:'filling & replacing'!
@@ -214,8 +208,16 @@
     tally := size
 ! !
 
+!BooleanArray methodsFor:'queries'!
+
+size
+    "return the size of the receiver"
+
+    ^ tally
+! !
+
 !BooleanArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/BooleanArray.st,v 1.8 2000-08-22 13:52:00 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/BooleanArray.st,v 1.9 2000-08-22 13:56:06 cg Exp $'
 ! !
--- a/DirectoryContents.st	Tue Aug 22 15:52:00 2000 +0200
+++ b/DirectoryContents.st	Tue Aug 22 15:57:19 2000 +0200
@@ -235,12 +235,6 @@
     "get the last modification time of the directory
     "
     ^ timeStamp
-!
-
-size
-    "get number of files including directories in the directory
-    "
-    ^ names size
 ! !
 
 !DirectoryContents methodsFor:'enumerating'!
@@ -357,6 +351,12 @@
       )
 
     "Modified: / 17.8.1998 / 10:05:23 / cg"
+!
+
+size
+    "get number of files including directories in the directory
+    "
+    ^ names size
 ! !
 
 !DirectoryContents methodsFor:'testing'!
@@ -376,5 +376,5 @@
 !DirectoryContents class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/DirectoryContents.st,v 1.10 2000-08-22 13:47:38 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/DirectoryContents.st,v 1.11 2000-08-22 13:56:28 cg Exp $'
 ! !
--- a/MappedCollection.st	Tue Aug 22 15:52:00 2000 +0200
+++ b/MappedCollection.st	Tue Aug 22 15:57:19 2000 +0200
@@ -149,20 +149,18 @@
 
 !MappedCollection methodsFor:'queries'!
 
-species
-    ^ domain species
-! !
-
-!MappedCollection methodsFor:'testing'!
-
 size
     "return the number of elements in the receiver"
 
     ^ map size
+!
+
+species
+    ^ domain species
 ! !
 
 !MappedCollection class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/MappedCollection.st,v 1.17 2000-08-22 13:48:33 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/MappedCollection.st,v 1.18 2000-08-22 13:57:10 cg Exp $'
 ! !
--- a/RunArray.st	Tue Aug 22 15:52:00 2000 +0200
+++ b/RunArray.st	Tue Aug 22 15:57:19 2000 +0200
@@ -548,23 +548,6 @@
     "
 
     "Modified: / 30.10.1997 / 14:38:45 / cg"
-!
-
-size
-    "Answer how many elements the receiver contains.
-     Thsi is not the number of runs (but the simulated number of elements)."
-
-    |n     "{ Class: SmallInteger }"
-     runSz "{ Class: SmallInteger }"|
-
-    n := 0.
-    runSz := contentsArray size.
-    1 to:runSz by:2 do:[:i |
-        n := n + (contentsArray at:i)
-    ].
-    ^ n
-
-    "Modified: 11.5.1996 / 13:34:27 / cg"
 ! !
 
 !RunArray methodsFor:'adding & removing'!
@@ -1086,6 +1069,25 @@
     "Modified: 11.5.1996 / 13:34:53 / cg"
 ! !
 
+!RunArray methodsFor:'queries'!
+
+size
+    "Answer how many elements the receiver contains.
+     Thsi is not the number of runs (but the simulated number of elements)."
+
+    |n     "{ Class: SmallInteger }"
+     runSz "{ Class: SmallInteger }"|
+
+    n := 0.
+    runSz := contentsArray size.
+    1 to:runSz by:2 do:[:i |
+        n := n + (contentsArray at:i)
+    ].
+    ^ n
+
+    "Modified: 11.5.1996 / 13:34:27 / cg"
+! !
+
 !RunArray methodsFor:'searching'!
 
 findFirst:aBlock
@@ -1248,5 +1250,5 @@
 !RunArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/RunArray.st,v 1.18 2000-08-22 13:49:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/RunArray.st,v 1.19 2000-08-22 13:57:19 cg Exp $'
 ! !