scala.collection.mutable

class LinkedList

[source: scala/collection/mutable/LinkedList.scala]

@serializable

class LinkedList[A](val elem : A, val next : LinkedList[A])
extends SingleLinkedList[A, LinkedList[A]]
This class implements single linked lists where both the head (elem) and the tail (next) are mutable.
Author
Matthias Zenger
Version
1.0, 08/07/2003
Method Summary
override def equals (obj : Any) : Boolean
protected override def stringPrefix : String
Defines the prefix of this object's toString representation.
Methods inherited from SingleLinkedList
length, append, insert, apply, get, elements, toList
Methods inherited from Seq
size, isEmpty, concat, ++, isDefinedAt, lastIndexOf, map, flatMap, filter, take, drop, takeWhile, dropWhile, reverse, contains, slice, subseq, toArray
Methods inherited from Collection
toString
Methods inherited from Iterable
foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, mkString, mkString, addString, addString, copyToArray, projection, hasDefiniteSize
Methods inherited from PartialFunction
orElse, andThen
Methods inherited from Function1
compose
Methods inherited from AnyRef
getClass, hashCode, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override def equals(obj : Any) : Boolean

protected override def stringPrefix : String
Defines the prefix of this object's toString representation.