Base trait for companion objects of unconstrained collection types that may require multiple traversals of a source collection to build a target collection CC.
| Type parameters |
|
|---|---|
| Supertypes | |
| Known subtypes | 39 types |
An empty collection
| Type parameters |
|
|---|
Creates a target collection from an existing source collection
| Type parameters |
|
|---|---|
| Value parameters |
|
| Returns | a new collection with the elements of |
| Value parameters |
|
|---|---|
| Returns | A collection of type |
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.
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.
| Type parameters |
|
|---|---|
| Returns | A builder for |
Creates a collection with the specified elements.
| Type parameters |
|
|---|---|
| Value parameters |
|
| Returns | a new collection with elements |
Concatenates all argument collections into a single collection.
| Value parameters |
|
|---|---|
| Returns | the concatenation of all the collections. |
Produces a collection containing the results of some element computation a number of times.
| Value parameters |
|
|---|---|
| Returns | A collection that contains the results of |
Produces a two-dimensional collection containing the results of some element computation a number of times.
| Value parameters |
|
|---|---|
| Returns | A collection that contains the results of |
Produces a three-dimensional collection containing the results of some element computation a number of times.
| Value parameters |
|
|---|---|
| Returns | A collection that contains the results of |
Produces a four-dimensional collection containing the results of some element computation a number of times.
| Value parameters |
|
|---|---|
| Returns | A collection that contains the results of |
Produces a five-dimensional collection containing the results of some element computation a number of times.
| Value parameters |
|
|---|---|
| Returns | A collection that contains the results of |
Produces a collection containing repeated applications of a function to a start value.
| Value parameters |
|
|---|---|
| Returns | a collection with |
Produces a collection containing a sequence of increasing of integers.
| Value parameters |
|
|---|---|
| Returns | a collection with values |
Produces a collection containing equally spaced values in some integer interval.
| Value parameters |
|
|---|---|
| Returns | a collection with values |
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 |
Produces a two-dimensional collection containing values of a given function over ranges of integer values starting from 0.
| Value parameters |
|
|---|---|
| Returns | A collection consisting of elements |
Produces a three-dimensional collection containing values of a given function over ranges of integer values starting from 0.
| Value parameters |
|
|---|---|
| Returns | A collection consisting of elements |
Produces a four-dimensional collection containing values of a given function over ranges of integer values starting from 0.
| Value parameters |
|
|---|---|
| Returns | A collection consisting of elements |
Produces a five-dimensional collection containing values of a given function over ranges of integer values starting from 0.
| Value parameters |
|
|---|---|
| Returns | A collection consisting of elements |
Partially apply a BuildFrom to a Factory
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 |
© 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/IterableFactory.html