summaryrefslogtreecommitdiff
path: root/sources/scala/collection/mutable/LinkedList.scala
diff options
context:
space:
mode:
authorMatthias Zenger <mzenger@gmail.com>2003-07-08 12:02:31 +0000
committerMatthias Zenger <mzenger@gmail.com>2003-07-08 12:02:31 +0000
commite5770ffd3075ac20100bc8b8b655b20949db8c0e (patch)
tree65e743d09f7941bc5392d1bdbb087fd800b5a605 /sources/scala/collection/mutable/LinkedList.scala
parente7e6cc4243f9f42efa0e62a5b81796eaa051e4f5 (diff)
downloadscala-e5770ffd3075ac20100bc8b8b655b20949db8c0e.tar.gz
scala-e5770ffd3075ac20100bc8b8b655b20949db8c0e.tar.bz2
scala-e5770ffd3075ac20100bc8b8b655b20949db8c0e.zip
Changed names in all the files and started to a...
Changed names in all the files and started to add some comments. The collection classes do not yet compile.
Diffstat (limited to 'sources/scala/collection/mutable/LinkedList.scala')
-rw-r--r--sources/scala/collection/mutable/LinkedList.scala9
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/scala/collection/mutable/LinkedList.scala b/sources/scala/collection/mutable/LinkedList.scala
index 380acdb1be..1f38d894f6 100644
--- a/sources/scala/collection/mutable/LinkedList.scala
+++ b/sources/scala/collection/mutable/LinkedList.scala
@@ -7,7 +7,14 @@
** $Id$
\* */
-package scala;
+package scala.collection.mutable;
+
+/** This class implements single linked lists where both the head (<code>elem</code>)
+ * and the tail (<code>next</code>) are mutable.
+ *
+ * @author Matthias Zenger
+ * @version 1.0, 08/07/2003
+ */
class LinkedList[A](head: A, tail: LinkedList[A]) extends SingleLinkedList[A, LinkedList[A]] {
elem = head;