changed: #documentation
authorClaus Gittinger <cg@exept.de>
Tue, 27 Sep 2011 11:42:48 +0200
changeset 13727 05c6543b983b
parent 13726 73a69112be21
child 13728 23c2d52f10da
changed: #documentation
LinkedList.st
--- a/LinkedList.st	Mon Sep 26 18:46:00 2011 +0200
+++ b/LinkedList.st	Tue Sep 27 11:42:48 2011 +0200
@@ -49,16 +49,16 @@
     ValueLink, which holds a reference to some object.
 
     [warning:]
-	Be careful when subclassing Link, since there is a big drawback,
-	which may be overlooked by beginners:
-	    a Link element can only be in one LinkedList
-	    - adding the same element to another LinkedList
-	    will remove it from the first as a side effect.
-	Therefore, NEVER simply add something to a linkedList (except for
-	valueLinks) unless you know what you do.
-	The ST-80 implementors probably wanted this behavior, to move
-	processes from the waitingList to runLists and vice versa;
-	however, literature seems to not point this out enough.
+        Be careful when subclassing Link, since there is a big drawback,
+        which may be overlooked by beginners:
+            a Link element can only be in one LinkedList
+            - adding the same element to another LinkedList
+            will remove it from the first as a side effect.
+        Therefore, NEVER simply add something to a linkedList (except for
+        valueLinks) unless you know what you do.
+        The ST-80 implementors probably wanted this behavior, to move
+        processes from the waitingList to runLists and vice versa;
+        however, literature seems to not point this out enough.
 
     Although LinkedList is a subclass of SequenceableCollection (and therefore
     supports indexed access via at:), you should be careful in using it or
@@ -76,14 +76,14 @@
     (the schedulers process handling code does this to manage process lists.)
 
     [memory requirements:]
-	(OBJ-HEADER + (3 * ptr-size)) * size
-		    + any additional instvars due to subclassing
+        (OBJ-HEADER + (3 * ptr-size)) * size
+                    + any additional instvars due to subclassing
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger (July 1993)
 
     [see also:]
-	Link ValueLink Process
+        Link ValueLink Process
 "
 !
 
@@ -430,9 +430,9 @@
 !LinkedList class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/LinkedList.st,v 1.40 2010-12-08 15:06:55 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/LinkedList.st,v 1.41 2011-09-27 09:42:48 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/LinkedList.st,v 1.40 2010-12-08 15:06:55 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/LinkedList.st,v 1.41 2011-09-27 09:42:48 cg Exp $'
 ! !