List.st
changeset 480 a7759a27fc8a
child 481 cee9d23e4cfe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/List.st	Tue Jan 14 16:18:08 1997 +0100
@@ -0,0 +1,79 @@
+"
+ COPYRIGHT (c) 1996 by eXept Software AG
+              All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+"
+
+
+OrderedCollection subclass:#List
+	instanceVariableNames:'dependents'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Collections-Sequenceable'
+!
+
+!List class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 1996 by eXept Software AG
+              All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+"
+
+!
+
+documentation
+"
+    Lists are mostly OrderedCollection, but keep their dependents
+    locally (which is adding a bit of performance - not functionality).
+
+    In ST/X, most functionality is already provided by OrderedCollection,
+    so there is not much new stuff found here.
+    It has been mostly provided, for ST-80 compatibility,
+    where it adds sorting capabilities.
+
+    [see also:]
+        Array OrderedCollection
+
+    [author:]
+        Claus Gittinger
+"
+
+! !
+
+!List methodsFor:'accessing'!
+
+dependents 
+    "return the dependents of the receiver"
+
+    ^ dependents
+
+    "Created: 14.2.1997 / 16:05:49 / cg"
+!
+
+dependents:aCollection
+    "set the dependents of the receiver"
+
+    dependents := aCollection
+
+    "Created: 14.2.1997 / 16:05:58 / cg"
+! !
+
+!List class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/libbasic2/List.st,v 1.1 1997-01-14 15:18:08 cg Exp $'
+! !