scala.collection.generic

class Companion

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

abstract class Companion[+CC]
extends AnyRef
Direct Known Subclasses:
SetFactory, TraversableFactory

Type Summary
type Coll
Method Summary
def apply [A](args : A*) : CC[A]
Creates an iterable of type CC with specified elements
def empty [A] : CC[A]
The empty iterable of type CC
abstract def newBuilder [A] : Builder[A, CC[A]]
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Type Details
type Coll

Method Details
abstract def newBuilder[A] : Builder[A, CC[A]]

def empty[A] : CC[A]
The empty iterable of type CC

def apply[A](args : A*) : CC[A]
Creates an iterable of type CC with specified elements