scala.collection.generic

class SequenceFactory

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

abstract class SequenceFactory[CC]
extends TraversableFactory[CC]
A template for companion objects of Sequence and subclasses thereof.
Direct Known Subclasses:
Array, LinearSequence, Sequence, Vector, LinearSequence, List, Sequence, Stream, Vector, ArrayBuffer, Buffer, LinearSequence, LinkedList, ListBuffer, ResizableArray, Sequence, Vector

Method Summary
def unapplySeq [A](x : CC[A]) : Some[CC[A]]
This method is called in a pattern match { case Sequence(...) => }.
Methods inherited from TraversableFactory
concat, fill, fill, fill, fill, fill, tabulate, tabulate, tabulate, tabulate, tabulate, range, range, iterate
Methods inherited from Companion
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 Sequence(...) => }.
Parameters
x - the selector value
Returns
sequence wrapped in an option, if this is a Sequence, otherwise none