On this page
Trait EvidenceIterableFactory.EvidenceIterableFactory
trait EvidenceIterableFactory[+CC[_], Ev[_]] extends Serializable
Base trait for companion objects of collections that require an implicit evidence.
Type parameters |
|
---|---|
Supertypes | |
Known subtypes |
17 types |
Abstract methods
Source
def empty[A : Ev]: CC[A]
Source
def from[E : Ev](it: IterableOnce[E]): CC[E]
Source
def newBuilder[A : Ev]: Builder[A, CC[A]]
Concrete methods
Source
def apply[A : Ev](xs: A*): CC[A]
Source
Produces a collection containing the results of some element computation a number of times.
Value parameters |
|
---|---|
Returns | A collection that contains the results of |
Source
Produces a collection containing repeated applications of a function to a start value.
Value parameters |
|
---|---|
Returns | a collection with |
Source
Produces a collection containing values of a given function over a range of integer values starting from 0.
Value parameters |
|
---|---|
Returns | A collection consisting of elements |
Source
Produces a collection that uses a function f
to produce elements of type A
and update an internal state of type S
.
Type parameters |
|
---|---|
Value parameters |
|
Returns | a collection that produces elements using |
Implicits
Source
implicit def evidenceIterableFactory[A : Ev]: Factory[A, CC[A]]
© 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/EvidenceIterableFactory.html