On this page
Trait scala.collection.StrictOptimizedSeqFactory
| Supertypes | |
|---|---|
| Known subtypes |
Concrete methods
Source
| Definition Classes | IterableFactory |
|---|
Source
| Definition Classes | IterableFactory |
|---|
Source
| Definition Classes | IterableFactory |
|---|
Inherited methods
Source
def apply[A](elems: A*): CC[A]
Creates a collection with the specified elements.
| Type parameters |
|
|---|---|
| Value parameters |
|
| Returns | a new collection with elements |
| Inherited from | IterableFactory |
Source
def empty[A]: CC[A]
An empty collection
| Type parameters |
|
|---|---|
| Inherited from | IterableFactory |
Source
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 |
| Inherited from | IterableFactory |
Source
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 |
| Inherited from | IterableFactory |
Source
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 |
| Inherited from | IterableFactory |
Source
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 |
| Inherited from | IterableFactory |
Source
def from[A](source: IterableOnce[A]): CC[A]
Creates a target collection from an existing source collection
| Type parameters |
|
|---|---|
| Value parameters |
|
| Returns | a new collection with the elements of |
| Inherited from | IterableFactory |
Source
Produces a collection containing repeated applications of a function to a start value.
| Value parameters |
|
|---|---|
| Returns | a collection with |
| Inherited from | IterableFactory |
Source
def newBuilder[A]: Builder[A, CC[A]]
| Type parameters |
|
|---|---|
| Returns | A builder for |
| Inherited from | IterableFactory |
Source
Produces a collection containing equally spaced values in some integer interval.
| Value parameters |
|
|---|---|
| Returns | a collection with values |
| Inherited from | IterableFactory |
Source
Produces a collection containing a sequence of increasing of integers.
| Value parameters |
|
|---|---|
| Returns | a collection with values |
| Inherited from | IterableFactory |
Source
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 |
| Inherited from | IterableFactory |
Source
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 |
| Inherited from | IterableFactory |
Source
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 |
| Inherited from | IterableFactory |
Source
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 |
| Inherited from | IterableFactory |
Source
final def unapplySeq[A](x: CC[A]): UnapplySeqWrapper[A]
| Inherited from | SeqFactory |
|---|
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 |
| Inherited from | IterableFactory |
Inherited implicits
Source
implicit def iterableFactory[A]: Factory[A, CC[A]]
| Inherited from | IterableFactory |
|---|
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/collection/StrictOptimizedSeqFactory.html