in scala.collection.mutable
class SingleLinkedList

`abstract class` SingleLinkedList [A, This <: scala.collection.mutable.SingleLinkedList[A, This] >: scala.Null]
  `extends` java.lang.Object
  `with` scala.Seq[A]
  `with` scala.ScalaObject

  This extensible class may be used as a basis for implementing linked list. 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

Direct Known Subclasses:
  LinkedList, DoubleLinkedList

Constructor Summary
| `def` this

Var Summary
`abstract` | `var` elem : A
`abstract` | `var` next : This

Def Summary
| `def` append (that: This) : scala.Unit
| `def` apply (n: scala.Int) : A
| `def` elements : scala.Iterator[A]
| `def` get (n: scala.Int) : scala.Option[A]
| `def` insert (that: This) : scala.Unit
| `def` length : scala.Int
`override` | `def` toList : scala.List[A]

Def inherited from scala.Seq[A]
++ , concat, contains, copyToArray, drop, dropWhile, filter, flatMap, isDefinedAt, isEmpty, lastIndexOf, length, map, reverse, slice, stringPrefix, subseq, super$drop, super$dropWhile, super$filter, super$take, super$takeWhile, take, takeWhile, toArray, toString

Constructor Detail

`def` this

Var Detail

`abstract var` elem : A

`abstract var` next : This

Def Detail

`def` append (that: This): scala.Unit

`def` apply (n: scala.Int): A

`def` elements : scala.Iterator[A]

`def` get (n: scala.Int): scala.Option[A]

`def` insert (that: This): scala.Unit

`def` length : scala.Int

`override def` toList : scala.List[A]