|
Scala 2.2.0
|
abstract
class
SingleLinkedList
[A, scala.Null <: This <: scala.collection.mutable.SingleLinkedList[A,This]]
extends
java.lang.Object with
scala.Seq[A] with
scala.ScalaObjectA
refers to the element type of the
list, type variable This
is used to model self types of
linked lists.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]
|
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]