|
Scala 2.2.0
|
abstract
trait
MutableList
[A]
extends
java.lang.Object with
scala.Seq[A] with
scala.PartialFunction[scala.Int,A] with
scala.ScalaObjectBuffer
,
Stack
, and 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.
|
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
n
th element of this list. This method
yields an error if the element does not exist.
def
elements
: scala.Iterator[A]
def
get
(n: scala.Int): scala.Option[A]
n
th element of this list or None
if this element does not exist.
def
length
: scala.Int
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]
scala.List
containing the same
sequence of elements.