IntAccumulator

Companion:
class
Source:
IntAccumulator.scala

Type members

Value members

Concrete methods

A BiConsumer that adds an element to an IntAccumulator, suitable for use with java.util.stream.IntStream's collect method.

A BiConsumer that adds an element to an IntAccumulator, suitable for use with java.util.stream.IntStream's collect method.

Source:
IntAccumulator.scala

A BiConsumer that adds a boxed Int to an IntAccumulator, suitable for use with java.util.stream.Stream's collect method.

A BiConsumer that adds a boxed Int to an IntAccumulator, suitable for use with java.util.stream.Stream's collect method.

Source:
IntAccumulator.scala
Value parameters:
it

Source collection

Returns:

A collection of type C containing the same elements as the source collection it.

Definition Classes
Source:
IntAccumulator.scala

A BiConsumer that merges IntAccumulators, suitable for use with java.util.stream.IntStream's collect method.

A BiConsumer that merges IntAccumulators, suitable for use with java.util.stream.IntStream's collect method. Suitable for Stream[Int] also.

Source:
IntAccumulator.scala

Get a Builder for the collection.

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
Source:
IntAccumulator.scala

A Supplier of IntAccumulators, suitable for use with java.util.stream.IntStream's collect method.

A Supplier of IntAccumulators, suitable for use with java.util.stream.IntStream's collect method. Suitable for Stream[Int] also.

Source:
IntAccumulator.scala

Inherited methods

def apply(xs: Int*): C
def fill(n: Int)(elem: => Int): C

Implicits

Inherited implicits