in scala.collection.mutable
class MutableList

mixin abstract class 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

Def Summary
protected def appendElem ( elem : A ) : scala.Unit

def apply ( n : scala.Int ) : A
Returns the nth 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 nth 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 Detail
protected def appendElem ( elem : A ) : scala.Unit

def apply ( n : scala.Int ) : A
Returns the nth 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 nth 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.