|
Scala 2.3.3
|
abstract
class
SingleLinkedList
[A, This <: scala.collection.mutable.SingleLinkedList[A, This] >: scala.Null]
extends
java.lang.Object
with
scala.Seq[A]
with
scala.ScalaObject
A
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]
|
Def inherited from scala.Seq[A] | |
++ , concat, contains, copyToArray, drop, dropWhile, filter, flatMap, isDefinedAt, isEmpty, lastIndexOf, length, map, reverse, slice, stringPrefix, subseq, super$drop, super$dropWhile, super$filter, super$take, super$takeWhile, take, takeWhile, toArray, toString |
Constructor Detail |
Var Detail |
Def Detail |
def
append
(that: This): scala.Unit
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]