in scala.collection.mutable
trait MutableList

`abstract trait` MutableList [A]
  `extends` java.lang.Object
  `with` scala.Seq[A]
  `with` scala.PartialFunction[scala.Int, A]
  `with` scala.ScalaObject

  This class is used internally to represent mutable lists. It is the basis for the implementation of the classes `Buffer`, `Stack`, and `Queue`.

Author:
  Matthias Zenger
Version:
  1.0, 08/07/2003

Direct Known Subclasses:
  Stack, Queue

Var Summary
`protected` | `var` first : scala.collection.mutable.LinkedList[A]
`protected` | `var` last : scala.collection.mutable.LinkedList[A]
`protected` | `var` len : scala.Int

Def Summary
`protected` | `def` appendElem (elem: A) : scala.Unit
| `def` apply (n: scala.Int) : A Returns the `n`th element of this list. This method yields an error if the element does not exist.
| `def` elements : scala.Iterator[A] Returns an iterator over all elements of this list.
| `def` get (n: scala.Int) : scala.Option[A] Returns the `n`th element of this list or `None` if this element does not exist.
| `def` length : scala.Int Returns the length of this list.
`protected` | `def` prependElem (elem: A) : scala.Unit
`protected` | `def` reset : scala.Unit
`override` `protected` | `def` stringPrefix : java.lang.String
`override` | `def` toList : scala.List[A] Returns an instance of `scala.List` containing the same sequence of elements.

Def inherited from scala.Seq[A]
concat , copyToArray, drop, indexOf, isDefinedAt, isEmpty, lastIndexOf, length, mkString, stringPrefix, subseq, take, toArray, toString

Def inherited from scala.PartialFunction[scala.Int, A]
andThen , isDefinedAt, orElse

Var Detail

`protected var` first : scala.collection.mutable.LinkedList[A]

`protected var` last : scala.collection.mutable.LinkedList[A]

`protected var` len : scala.Int

Def Detail

`protected def` appendElem (elem: A): scala.Unit

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

  Returns the `n`th element of this list. This method yields an error if the element does not exist.

`def` elements : scala.Iterator[A]

  Returns an iterator over all elements of this list.

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

  Returns the `n`th element of this list or `None` if this element does not exist.

`def` length : scala.Int

  Returns the length of this list.

`protected def` prependElem (elem: A): scala.Unit

`protected def` reset : scala.Unit

`override protected def` stringPrefix : java.lang.String

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

  Returns an instance of `scala.List` containing the same sequence of elements.