|
Scala Library Documentation
|
|
trait
MutableList[A]
extends Seq[A]Buffer,
Stack, and Queue.| Value Summary | |
protected var
|
first0 : LinkedList[A] |
protected var
|
last0 : LinkedList[A] |
protected var
|
len : Int |
| Method Summary | |
protected def
|
appendElem (elem : A) : Unit |
def
|
apply
(n : Int) : A
Returns the
nth element of this list. This method
yields an error if the element does not exist. |
override def
|
elements
: Iterator[A]
Returns an iterator over all elements of this list.
|
def
|
get
(n : Int) : Option[A]
Returns the
nth element of this list or None
if this element does not exist. |
override def
|
last
: A
Returns the last element of this list.
|
def
|
length
: Int
Returns the length of this list.
|
protected def
|
prependElem (elem : A) : Unit |
protected def
|
reset : Unit |
protected override def
|
stringPrefix
: String
Defines the prefix of this object's
toString representation. |
override def
|
toList
: List[A]
Returns an instance of
scala.List containing the same
sequence of elements. |
| Methods inherited from Seq | |
| size, isEmpty, concat, lastOption, headOption, ++, isDefinedAt, lastIndexOf, map, flatMap, filter, take, drop, slice, takeWhile, dropWhile, reverse, contains, subseq, toArray, projection, equalsWith, startsWith, endsWith, indexOf, containsSlice |
| Methods inherited from Collection | |
| toString |
| Methods inherited from Iterable | |
| foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toStream, mkString, mkString, mkString, addString, addString, copyToArray, hasDefiniteSize |
| Methods inherited from PartialFunction | |
| orElse, andThen |
| Methods inherited from Function1 | |
| compose |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
|
Scala Library Documentation
|
|