summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/DoubleLinkedListLike.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-10 15:20:46 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-10 15:20:46 +0000
commite2decb09ed9cbfad6e1c61b68e24423620d01ff3 (patch)
treea7970f709b9ebaf3f63d6865bc76c45f1c653cff /src/library/scala/collection/mutable/DoubleLinkedListLike.scala
parent519214dcc68c941afb45ef6e749ec0afdb10af65 (diff)
downloadscala-e2decb09ed9cbfad6e1c61b68e24423620d01ff3.tar.gz
scala-e2decb09ed9cbfad6e1c61b68e24423620d01ff3.tar.bz2
scala-e2decb09ed9cbfad6e1c61b68e24423620d01ff3.zip
More docs. No review.
Diffstat (limited to 'src/library/scala/collection/mutable/DoubleLinkedListLike.scala')
-rw-r--r--src/library/scala/collection/mutable/DoubleLinkedListLike.scala11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/library/scala/collection/mutable/DoubleLinkedListLike.scala b/src/library/scala/collection/mutable/DoubleLinkedListLike.scala
index 269d1997d0..b908a1802b 100644
--- a/src/library/scala/collection/mutable/DoubleLinkedListLike.scala
+++ b/src/library/scala/collection/mutable/DoubleLinkedListLike.scala
@@ -13,16 +13,23 @@ package scala.collection
package mutable
/** This extensible class may be used as a basis for implementing double
- * linked lists. Type variable <code>A</code> refers to the element type
- * of the list, type variable <code>This</code> is used to model self
+ * linked lists. Type variable `A` refers to the element type
+ * of the list, type variable `This` is used to model self
* types of linked lists.
*
* @author Matthias Zenger
* @version 1.0, 08/07/2003
* @since 2.8
+ *
+ * @tparam A type of the elements contained in the double linked list
+ * @tparam This the type of the actual linked list holding the elements
+ *
+ * @define Coll DoubleLinkedList
+ * @define coll double linked list
*/
trait DoubleLinkedListLike[A, This <: Seq[A] with DoubleLinkedListLike[A, This]] extends LinkedListLike[A, This] { self =>
+ /** A reference to the node in the linked list preceeding the current node. */
var prev: This = _
override def append(that: This): This =