Scala Library
|
|
trait
GenericTraversableTemplate[+A, +CC]
extends
HasNewBuilder[A, CC[A]] with
AnyRefMethod Summary | |
abstract def
|
companion
: GenericCompanion[CC]
The factory companion object that builds instances of class CC
|
def
|
flatten
[B](implicit asTraversable : (A) => Traversable[B]) : CC[B]
|
abstract def
|
foreach [U](f : (A) => U) : Unit |
def
|
genericBuilder
[B] : Builder[B, CC[B]]
The generic builder that builds instances of CC at arbitrary element types.
|
abstract def
|
head : A |
abstract def
|
isEmpty : Boolean |
protected[this] def
|
newBuilder
: Builder[A, CC[A]]
The builder that builds instances of CC[A]
|
def
|
transpose
[B](implicit asTraversable : (A) => Traversable[B]) : CC[CC[B]]
|
def
|
unzip
[A1, A2](implicit asPair : (A) => (A1, A2)) : (CC[A1], CC[A2])
|
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 |
abstract
def
head : A
abstract
def
isEmpty : Boolean
abstract
def
companion : GenericCompanion[CC]
def
flatten[B](implicit
asTraversable : (A) => Traversable[B]) : CC[B]
Scala Library
|
|