A companion object used to create instances of ArraySeq.
| Supertypes | |
|---|---|
| Self type |
Wrap an existing Array into a ArraySeq of the proper primitive specialization type without copying.
Note that an array containing boxed primitives can be converted to a ArraySeq without copying. For example, val a: Array[Any] = Array(1) is an array of Object at runtime, containing Integers. An ArraySeq[Int] can be obtained with a cast: ArraySeq.make(a).asInstanceOf[ArraySeq[Int]]. The values are still boxed, the resulting instance is an ArraySeq.ofRef. Writing ArraySeq.make(a.asInstanceOf[Array[Int]]) does not work, it throws a ClassCastException at runtime.
| Inherited from | EvidenceIterableFactory |
|---|
Produces a collection containing the results of some element computation a number of times.
| Value parameters |
|
|---|---|
| Returns | A collection that contains the results of |
| Definition Classes | StrictOptimizedClassTagSeqFactory -> EvidenceIterableFactory |
| Inherited from | StrictOptimizedClassTagSeqFactory |
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 | ClassTagIterableFactory |
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 | ClassTagIterableFactory |
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 | ClassTagIterableFactory |
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 | ClassTagIterableFactory |
Produces a collection containing repeated applications of a function to a start value.
| Value parameters |
|
|---|---|
| Returns | a collection with |
| Inherited from | EvidenceIterableFactory |
Produces a collection containing equally spaced values in some integer interval.
| Value parameters |
|
|---|---|
| Returns | a collection with values |
| Inherited from | ClassTagIterableFactory |
Produces a collection containing a sequence of increasing of integers.
| Value parameters |
|
|---|---|
| Returns | a collection with values |
| Inherited from | ClassTagIterableFactory |
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 |
| Definition Classes | StrictOptimizedClassTagSeqFactory -> EvidenceIterableFactory |
| Inherited from | StrictOptimizedClassTagSeqFactory |
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 | ClassTagIterableFactory |
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 | ClassTagIterableFactory |
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 | ClassTagIterableFactory |
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 | ClassTagIterableFactory |
| Inherited from | ClassTagSeqFactory |
|---|
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 | EvidenceIterableFactory |
| Inherited from | EvidenceIterableFactory |
|---|
© 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/mutable/ArraySeq$.html