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
: java.lang.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 | |
lengthCompare, size, isEmpty, concat, last, lastOption, headOption, ++, isDefinedAt, lastIndexOf, map, flatMap, filter, take, drop, slice, takeWhile, dropWhile, reverse, contains, subseq, toArray, projection, equalsWith, startsWith, endsWith, indexOf, containsSlice |
Methods inherited from Collection | |
toString |
Methods inherited from Iterable | |
partition, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toStream, mkString, mkString, mkString, addString, addString, copyToArray, 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 : java.lang.String
toString
representation.
Scala Library Documentation
|
|