On this page
Object AnyAccumulator.AnyAccumulator
| Supertypes | |
|---|---|
| Self type |
Classlikes
Source
Concrete methods
Source
A BiConsumer that adds an element to an AnyAccumulator, suitable for use with java.util.stream.Stream's collect method.
Source
def empty[A]: AnyAccumulator[A]
An empty collection
| Type parameters |
|
|---|
Source
Creates a target collection from an existing source collection
| Type parameters |
|
|---|---|
| Value parameters |
|
| Returns | a new collection with the elements of |
Source
A BiConsumer that merges AnyAccumulators, suitable for use with java.util.stream.Stream's collect method.
Source
| Type parameters |
|
|---|---|
| Returns | A builder for |
Source
A Supplier of AnyAccumulators, suitable for use with java.util.stream.Stream's collect method.
Source
A BiConsumer that adds a Double to an AnyAccumulator, suitable for use with java.util.stream.Stream's collect method.
Source
A BiConsumer that adds an Int to an AnyAccumulator, suitable for use with java.util.stream.Stream's collect method.
Source
A BiConsumer that adds a Long to an AnyAccumulator, suitable for use with java.util.stream.Stream's collect method.
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
Concatenates all argument collections into a single collection.
| Value parameters |
|
|---|---|
| Returns | the concatenation of all the collections. |
| 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
Produces a 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 collection containing repeated applications of a function to a start value.
| Value parameters |
|
|---|---|
| Returns | a collection with |
| 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
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 |
| Inherited from | IterableFactory |
Source
| 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.2.0/scala/jdk/AnyAccumulator$.html