On this page
Object IntAccumulator.IntAccumulator
| Supertypes | |
|---|---|
| Self type |
Classlikes
Source
Concrete methods
Source
A BiConsumer that adds an element to an IntAccumulator, suitable for use with java.util.stream.IntStream's collect method.
Source
A BiConsumer that adds a boxed Int to an IntAccumulator, suitable for use with java.util.stream.Stream's collect method.
Source
override def empty: IntAccumulator
| Definition Classes | SpecificIterableFactory |
|---|
Source
| Value parameters |
|
|---|---|
| Returns | A collection of type |
| Definition Classes | Factory |
Source
A BiConsumer that merges IntAccumulators, suitable for use with java.util.stream.IntStream's collect method. Suitable for Stream[Int] also.
Source
override def newBuilder: IntAccumulator
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.
| Definition Classes | SpecificIterableFactory -> Factory |
|---|
Source
A Supplier of IntAccumulators, suitable for use with java.util.stream.IntStream's collect method. Suitable for Stream[Int] also.
Inherited methods
Source
| Inherited from | SpecificIterableFactory |
|---|
Source
| Inherited from | SpecificIterableFactory |
|---|
Implicits
Source
implicit def toJavaIntegerAccumulator(ia: IntAccumulator.type): SpecificIterableFactory[Integer, IntAccumulator]
Inherited implicits
Source
implicit def specificIterableFactory: Factory[A, C]
| Inherited from | SpecificIterableFactory |
|---|
© 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/IntAccumulator$.html