scala.collection.generic

class SeqFactory

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

abstract class SeqFactory[CC]
extends TraversableFactory[CC]
A template for companion objects of Seq and subclasses thereof.
Since
2.8
Direct Known Subclasses:
IndexedSeq, LinearSeq, Seq, IndexedSeq, LinearSeq, List, Seq, Stream, Vector, ArrayBuffer, Buffer, DoubleLinkedList, GenericArray, IndexedSeq, LinearSeq, LinkedList, ListBuffer, ResizableArray, Seq

Method Summary
def unapplySeq [A](x : CC[A]) : Some[CC[A]]
This method is called in a pattern match { case Seq(...) => }.
Methods inherited from TraversableFactory
concat, fill, fill, fill, fill, fill, tabulate, tabulate, tabulate, tabulate, tabulate, range, range, iterate
Methods inherited from GenericCompanion
newBuilder (abstract), empty, apply
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def unapplySeq[A](x : CC[A]) : Some[CC[A]]
This method is called in a pattern match { case Seq(...) => }.
Parameters
x - the selector value
Returns
sequence wrapped in an option, if this is a Seq, otherwise none