On this page
Trait SpecificIterableFactory.SpecificIterableFactory
trait SpecificIterableFactory[-A, +C] extends Factory[A, C]
Type parameters |
|
---|---|
Supertypes | |
Known subtypes |
Abstract methods
Source
def empty: C
Source
def newBuilder: Builder[A, C]
Get a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific
is preferred because it can be lazy for lazy collections.
Concrete methods
Source
def apply(xs: A*): C
Source
Inherited methods
Source
def fromSpecific(it: IterableOnce[A]): C
Value parameters |
|
---|---|
Returns | A collection of type |
Inherited from | Factory |
Implicits
Source
implicit def specificIterableFactory: Factory[A, C]
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/collection/SpecificIterableFactory.html