Scala Library
|
|
class
LinkedList[A](_elem : A, _next : LinkedList[A])
extends
LinearSequence[A] with
TraversableClass[A, LinkedList] with
LinkedListTemplate[A, LinkedList[A]]elem
)
and the tail (next
) are mutable.Values and Variables inherited from LinkedListTemplate | |
elem, next |
Method Summary | |
override def
|
companion
: Companion[LinkedList]
The factory companion object that builds instances of class CC
|
Methods inherited from LinkedListTemplate | |
isEmpty, length, head, tail, append, insert, drop, apply, update, get, iterator, foreach |
Methods inherited from LinearSequenceTemplate | |
forall, exists, count, find, foldLeft, foldRight, reduceLeft, reduceRight, last, take, dropRight, span, sameElements, lengthCompare, isDefinedAt, segmentLength, indexWhere, lastIndexWhere, equals |
Methods inherited from Unhashable | |
hashCode, identityHashCode |
Methods inherited from SequenceTemplate | |
size, zip, zipAll, zipWithIndex, prefixLength, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, reverse, reverseIterator, reversedElements, startsWith, startsWith, endsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, patch, padTo, toSequence, indices, view, view, toString, sortWith, findLastIndexOf, slice, equalsWith, containsSlice, projection |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from IterableTemplate | |
elements, toIterable, takeRight, toStream, first, firstOption, toSeq |
Methods inherited from TraversableClass | |
newBuilder, genericBuilder, unzip, flatten, transpose |
Methods inherited from TraversableTemplate | |
thisCollection, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterMap, filterNot, remove, partition, groupBy, /:, :\, reduceLeftOption, reduceRightOption, headOption, lastOption, init, slice, takeWhile, dropWhile, splitAt, copyToBuffer, copyToArray, copyToArray, toArray, toList, toSet, mkString, mkString, mkString, addString, addString, addString, stringPrefix |
Methods inherited from AnyRef | |
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
override
def
companion : Companion[LinkedList]
Scala Library
|
|