scala.collection.generic.TraversableFactory

class GenericCanBuildFrom

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

class GenericCanBuildFrom[A]
extends CanBuildFrom[CC[Any], A, CC[A]] with AnyRef
Direct Known Subclasses:
Stream.StreamCanBuildFrom

Method Summary
def apply (from : CC) : Builder[A, CC[A]]
Creates a new builder, using `from` as a prototype the resulting Builder will build the same kind of collection
def apply : Builder[A, CC[A]]
Creates a new builder from scratch
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 apply(from : CC) : Builder[A, CC[A]]
Creates a new builder, using `from` as a prototype the resulting Builder will build the same kind of collection
Overrides
CanBuildFrom.apply

def apply : Builder[A, CC[A]]
Creates a new builder from scratch
Overrides
CanBuildFrom.apply