scala.collection.generic

trait DoubleLinkedListTemplate

[source: scala/collection/generic/DoubleLinkedListTemplate.scala]

trait DoubleLinkedListTemplate[A, This <: LinearSequence[A] with DoubleLinkedListTemplate[A, This] >: Null]
extends LinkedListTemplate[A, This]
This extensible class may be used as a basis for implementing double linked lists. Type variable A refers to the element type of the list, type variable This is used to model self types of linked lists.
Author
Matthias Zenger
Version
1.0, 08/07/2003
Value Summary
var prev : This
Values and Variables inherited from LinkedListTemplate
elem, next
Method Summary
override def append (that : This) : Unit
override def insert (that : This) : Unit
def remove : Unit
Methods inherited from LinkedListTemplate
isEmpty, length, head, tail, drop, apply, update, get, iterator, foreach
Methods inherited from SequenceTemplate
lengthCompare, size, isDefinedAt, zip, zipAll, zipWithIndex, segmentLength, prefixLength, indexWhere, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, lastIndexWhere, reverse, reverseIterator, reversedElements, startsWith, startsWith, endsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, patch, padTo, toSequence, indices, view, view, equals, toString, sortWith, findLastIndexOf, slice, equalsWith, containsSlice, projection
Methods inherited from IterableTemplate
elements, foldRight, reduceRight, toIterable, takeRight, dropRight, sameElements, toStream, first, firstOption, toSeq
Methods inherited from TraversableTemplate
newBuilder (abstract), thisCollection, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterMap, filterNot, remove, partition, groupBy, forall, exists, count, find, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, headOption, last, lastOption, init, take, slice, takeWhile, dropWhile, span, splitAt, copyToBuffer, copyToArray, copyToArray, toArray, toList, toSet, mkString, mkString, mkString, addString, addString, addString, stringPrefix
Methods inherited from AnyRef
getClass, hashCode, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
var prev : This

Method Details
override def append(that : This) : Unit
Overrides
LinkedListTemplate.append

override def insert(that : This) : Unit
Overrides
LinkedListTemplate.insert

def remove : Unit