IntAccumulator

scala.jdk.IntAccumulator
See theIntAccumulator companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Supertypes
trait Serializable
class Object
trait Matchable
class Any

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.

Attributes

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.

Attributes

override def empty: IntAccumulator

Attributes

Definition Classes

Value parameters

it

Source collection

Attributes

Returns

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

Definition Classes

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

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

Attributes

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.

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.

Attributes

Definition Classes

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

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

Attributes

Inherited methods

Attributes

Inherited from:
SpecificIterableFactory

Attributes

Inherited from:
SpecificIterableFactory

Implicits

Inherited implicits

Attributes

Inherited from:
SpecificIterableFactory