IterableFactory

scala.collection.IterableFactory
See theIterableFactory companion trait

Attributes

Companion
trait
Source
Factory.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class Delegate[CC[_]](delegate: IterableFactory[CC]) extends IterableFactory[CC]

Attributes

Source
Factory.scala
Supertypes
trait IterableFactory[CC]
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object Iterable
object Iterable
object Set
object Iterable
object Set

Implicits

Implicits

implicit def toBuildFrom[A, CC[_]](factory: IterableFactory[CC]): BuildFrom[Any, A, CC[A]]

Attributes

Source
Factory.scala
implicit def toFactory[A, CC[_]](factory: IterableFactory[CC]): Factory[A, CC[A]]

Fixes the element type of factory to A

Fixes the element type of factory to A

Type parameters

A

Type of elements

CC

Collection type constructor of the factory (e.g. Seq, List)

Value parameters

factory

The factory to fix the element type

Attributes

Returns

A Factory that uses the given factory to build a collection of elements of type A

Source
Factory.scala