in scala.collection.mutable
class SingleLinkedList

abstract class SingleLinkedList [A, scala.Null <: This <: scala.collection.mutable.SingleLinkedList[A, This]]
extends java.lang.Object
with scala.Seq[A]
with scala.ScalaObject
This extensible class may be used as a basis for implementing linked list. Type variable A refers to the element type of the list, type variable This is used to model self types of linked lists.
Author:
Matthias Zenger
Version:
1.0, 08/07/2003
Direct Known Subclasses:
LinkedList, DoubleLinkedList

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]