documentation
authorClaus Gittinger <cg@exept.de>
Fri, 19 Mar 1999 21:42:08 +0100
changeset 736 db164846b078
parent 735 6ca1d0dd6526
child 737 c76130b05afb
documentation
BitArray.st
BoolArray.st
BooleanArray.st
IntArray.st
IntegerArray.st
LongIntegerArray.st
SignedIntArray.st
SignedIntegerArray.st
SignedLongIntegerArray.st
SignedWordArray.st
WordArray.st
--- a/BitArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/BitArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -25,9 +25,7 @@
 "
 
 
-'From Smalltalk/X, Version:3.1.9 on 5-sep-1997 at 12:44:26 am'                  !
-
-BooleanArray subclass:#BitArray
+BooleanArray variableByteSubclass:#BitArray
 	instanceVariableNames:''
 	classVariableNames:''
 	poolDictionaries:''
@@ -69,6 +67,9 @@
 "
     like a booleanArray, but storing & returning 0's and 1's.
 
+    [memory requirements:]
+        OBJ-HEADER + ((size + 7) // 8)
+
     [author:]
         Claus Gittinger
 
@@ -151,5 +152,5 @@
 !BitArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/BitArray.st,v 1.1 1997-09-06 02:36:43 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/BitArray.st,v 1.2 1999-03-19 20:41:49 cg Exp $'
 ! !
--- a/BoolArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/BoolArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -73,6 +73,9 @@
     variable (tally).
     It may be useful if huge boolean arrays are to be used.
 
+    [memory requirements:]
+        OBJ-HEADER + ((size + 7) // 8)
+
     [see also:]
         ByteArray WordArray Array
 
@@ -195,5 +198,5 @@
 !BooleanArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/BoolArray.st,v 1.2 1997-07-31 16:40:34 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/BoolArray.st,v 1.3 1999-03-19 20:41:46 cg Exp $'
 ! !
--- a/BooleanArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/BooleanArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -73,6 +73,9 @@
     variable (tally).
     It may be useful if huge boolean arrays are to be used.
 
+    [memory requirements:]
+        OBJ-HEADER + ((size + 7) // 8)
+
     [see also:]
         ByteArray WordArray Array
 
@@ -195,5 +198,5 @@
 !BooleanArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/BooleanArray.st,v 1.2 1997-07-31 16:40:34 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/BooleanArray.st,v 1.3 1999-03-19 20:41:46 cg Exp $'
 ! !
--- a/IntArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/IntArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -1,5 +1,5 @@
 "
- COPYRIGHT (c) 1989 by Claus Gittinger
+ COPYRIGHT (c) 1997 by eXept Software AG
 	      All Rights Reserved
 
  This software is furnished under a license and may be used
@@ -41,17 +41,20 @@
     Since the representation fits the underlying C-language systems representation
     of unsigned int32's, this is also useful to pass bulk data to c primitive code.
 
+    [memory requirements:]
+        OBJ-HEADER + (size * 4)
+
     [see also:]
-	ByteArray BooleanArray FloatArray DoubleArray Array
-	SignedWordArray WordArray
+        ByteArray BooleanArray FloatArray DoubleArray Array
+        SignedWordArray WordArray
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 "
 ! !
 
 !IntegerArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/IntArray.st,v 1.1 1998-01-12 13:25:40 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/IntArray.st,v 1.2 1999-03-19 20:42:01 cg Exp $'
 ! !
--- a/IntegerArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/IntegerArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -1,5 +1,5 @@
 "
- COPYRIGHT (c) 1989 by Claus Gittinger
+ COPYRIGHT (c) 1997 by eXept Software AG
 	      All Rights Reserved
 
  This software is furnished under a license and may be used
@@ -41,17 +41,20 @@
     Since the representation fits the underlying C-language systems representation
     of unsigned int32's, this is also useful to pass bulk data to c primitive code.
 
+    [memory requirements:]
+        OBJ-HEADER + (size * 4)
+
     [see also:]
-	ByteArray BooleanArray FloatArray DoubleArray Array
-	SignedWordArray WordArray
+        ByteArray BooleanArray FloatArray DoubleArray Array
+        SignedWordArray WordArray
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 "
 ! !
 
 !IntegerArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/IntegerArray.st,v 1.1 1998-01-12 13:25:40 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/IntegerArray.st,v 1.2 1999-03-19 20:42:01 cg Exp $'
 ! !
--- a/LongIntegerArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/LongIntegerArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -43,20 +43,21 @@
     of signed longlong's, this is also useful to pass bulk data to c primitive code.
     (the system makes certain, that the first longlong is aligned as required)
 
+    [memory requirements:]
+        OBJ-HEADER + (size * 8)
+
     [see also:]
-	ByteArray BooleanArray FloatArray DoubleArray Array
-	WordArray SignedWordArray IntegerArray SignedIntegerArray
-	SignedLongIntegerArray
+        ByteArray BooleanArray FloatArray DoubleArray Array
+        WordArray SignedWordArray IntegerArray SignedIntegerArray
+        SignedLongIntegerArray
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 "
 ! !
 
 !LongIntegerArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/LongIntegerArray.st,v 1.2 1998-11-09 17:56:21 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/LongIntegerArray.st,v 1.3 1999-03-19 20:41:55 cg Exp $'
 ! !
-
-
--- a/SignedIntArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/SignedIntArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -1,5 +1,5 @@
 "
- COPYRIGHT (c) 1989 by Claus Gittinger
+ COPYRIGHT (c) 1997 by eXept Software AG
 	      All Rights Reserved
 
  This software is furnished under a license and may be used
@@ -41,18 +41,21 @@
     Since the representation fits the underlying C-language systems representation
     of signed int32's, this is also useful to pass bulk data to c primitive code.
 
+    [memory requirements:]
+        OBJ-HEADER + (size * 4)
+
     [see also:]
-	ByteArray BooleanArray FloatArray DoubleArray Array
-	SignedWordArray WordArray IntegerArray LongIntegerArray
-	SignedLongIntegerArray
+        ByteArray BooleanArray FloatArray DoubleArray Array
+        SignedWordArray WordArray IntegerArray LongIntegerArray
+        SignedLongIntegerArray
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 "
 ! !
 
 !SignedIntegerArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/SignedIntArray.st,v 1.2 1998-11-09 17:54:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/SignedIntArray.st,v 1.3 1999-03-19 20:41:59 cg Exp $'
 ! !
--- a/SignedIntegerArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/SignedIntegerArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -1,5 +1,5 @@
 "
- COPYRIGHT (c) 1989 by Claus Gittinger
+ COPYRIGHT (c) 1997 by eXept Software AG
 	      All Rights Reserved
 
  This software is furnished under a license and may be used
@@ -41,18 +41,21 @@
     Since the representation fits the underlying C-language systems representation
     of signed int32's, this is also useful to pass bulk data to c primitive code.
 
+    [memory requirements:]
+        OBJ-HEADER + (size * 4)
+
     [see also:]
-	ByteArray BooleanArray FloatArray DoubleArray Array
-	SignedWordArray WordArray IntegerArray LongIntegerArray
-	SignedLongIntegerArray
+        ByteArray BooleanArray FloatArray DoubleArray Array
+        SignedWordArray WordArray IntegerArray LongIntegerArray
+        SignedLongIntegerArray
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 "
 ! !
 
 !SignedIntegerArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/SignedIntegerArray.st,v 1.2 1998-11-09 17:54:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/SignedIntegerArray.st,v 1.3 1999-03-19 20:41:59 cg Exp $'
 ! !
--- a/SignedLongIntegerArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/SignedLongIntegerArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -43,19 +43,21 @@
     of signed longlong's, this is also useful to pass bulk data to c primitive code.
     (the system makes certain, that the first longlong is aligned as required)
 
+    [memory requirements:]
+        OBJ-HEADER + (size * 8)
+
     [see also:]
-	ByteArray BooleanArray FloatArray DoubleArray Array
-	WordArray SignedWordArray IntegerArray SignedIntegerArray
-	LongIntegerArray
+        ByteArray BooleanArray FloatArray DoubleArray Array
+        WordArray SignedWordArray IntegerArray SignedIntegerArray
+        LongIntegerArray
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 "
 ! !
 
 !SignedLongIntegerArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/SignedLongIntegerArray.st,v 1.2 1998-11-09 17:56:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/SignedLongIntegerArray.st,v 1.3 1999-03-19 20:41:52 cg Exp $'
 ! !
-
--- a/SignedWordArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/SignedWordArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -14,20 +14,23 @@
     In contrast to normal arrays (which store pointers to their elements),
     signedWordArrays store the values in a dense & compact way. 
     Therefore, SIgnedordArrays can be used to hold bulk data in a more compact way.
-	For example:
-	    Array new:100000 withAll:1
-	requires 400k of object memory;
+        For example:
+            Array new:100000 withAll:1
+        requires 400k of object memory;
 
-	in contrast,
-	    SignedordArray new:100000 withAll:1
-	only requires half of it.
+        in contrast,
+            SignedordArray new:100000 withAll:1
+        only requires half of it.
+
+    [memory requirements:]
+        OBJ-HEADER + (size * 2)
 
     [see also:]
-	ByteArray WordArray BooleanArray FloatArray DoubleArray Array
-	IntegerArray LongIntegerArray SignedLongIntegerArray
+        ByteArray WordArray BooleanArray FloatArray DoubleArray Array
+        IntegerArray LongIntegerArray SignedLongIntegerArray
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 "
 
 ! !
@@ -35,5 +38,5 @@
 !SignedWordArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/SignedWordArray.st,v 1.2 1998-11-09 17:54:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/SignedWordArray.st,v 1.3 1999-03-19 20:42:04 cg Exp $'
 ! !
--- a/WordArray.st	Fri Mar 19 21:23:21 1999 +0100
+++ b/WordArray.st	Fri Mar 19 21:42:08 1999 +0100
@@ -39,25 +39,28 @@
     In contrast to normal arrays (which store pointers to their elements),
     wordArrays store the values in a dense & compact way. 
     Therefore, WordArrays can be used to hold bulk data in a more compact way.
-	For example:
-	    Array new:100000 withAll:1
-	requires 400k of object memory;
+        For example:
+            Array new:100000 withAll:1
+        requires 400k of object memory;
 
-	in contrast,
-	    WordArray new:100000 withAll:1
-	only requires half of it.
+        in contrast,
+            WordArray new:100000 withAll:1
+        only requires half of it.
+
+    [memory requirements:]
+        OBJ-HEADER + (size * 2)
 
     [see also:]
-	ByteArray BooleanArray FloatArray DoubleArray Array
-	SignedWordArray
+        ByteArray BooleanArray FloatArray DoubleArray Array
+        SignedWordArray
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 "
 ! !
 
 !WordArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/WordArray.st,v 1.2 1998-01-12 13:24:29 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/WordArray.st,v 1.3 1999-03-19 20:42:08 cg Exp $'
 ! !