|
Scala Library Documentation
|
|
class
LinkedList[A](val elem : A, val next : LinkedList[A])
extends SingleLinkedList[A, LinkedList[A]]elem)
and the tail (next) are mutable.| 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 |
protected override
def
stringPrefix : String
toString representation.|
Scala Library Documentation
|
|