Scala Library
|
|
trait
DoubleLinkedListLike[A, This <: Seq[A] with
DoubleLinkedListLike[A, This]]
extends
LinkedListLike[A, This]A
refers to the element type
of the list, type variable This
is used to model self
types of linked lists.Value Summary | |
var
|
prev : This |
Values and Variables inherited from LinkedListLike | |
elem, next |
Method Summary | |
override def
|
append
(that : This) : This
Append linked list `that` at current position of this linked list
|
override def
|
insert
(that : This) : Unit
Insert linked list `that` at current position of this linked list
|
def
|
remove : Unit |
Methods inherited from LinkedListLike | |
isEmpty, length, head, tail, drop, apply, update, get, iterator, foreach |
Methods inherited from SeqLike | |
thisCollection, toCollection, lengthCompare, size, isDefinedAt, segmentLength, prefixLength, indexWhere, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, lastIndexWhere, reverse, reverseMap, reverseIterator, reversedElements, startsWith, startsWith, endsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, patch, updated, +:, :+, padTo, sortWith, sortWith, sortBy, toSeq, indices, view, view, hashCode, equals, toString, findLastIndexOf, equalsWith, containsSlice, projection |
Methods inherited from IterableLike | |
elements, forall, exists, find, foldRight, reduceRight, toIterable, take, slice, takeWhile, takeRight, dropRight, copyToArray, zip, zipAll, zipWithIndex, sameElements, toStream, canEqual, first, firstOption |
Methods inherited from TraversableLike | |
newBuilder (abstract), repr, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterNot, partialMap, remove, partition, groupBy, count, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, last, lastOption, init, dropWhile, span, splitAt, copyToBuffer, copyToArray, toArray, toList, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, addString, stringPrefix, withFilter |
Methods inherited from AnyRef | |
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
def
remove : Unit
Scala Library
|
|