LongAccumulator

scala.jdk.LongAccumulator
See theLongAccumulator companion class

Attributes

Companion
class
Source
LongAccumulator.scala
Graph
Supertypes
Self type

Members list

Type members

Classlikes

Attributes

Source
LongAccumulator.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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

Attributes

Source
LongAccumulator.scala

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

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

Attributes

Source
LongAccumulator.scala
override def empty: LongAccumulator

Attributes

Definition Classes
Source
LongAccumulator.scala

Value parameters

it

Source collection

Attributes

Returns

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

Definition Classes
Source
LongAccumulator.scala

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

A BiConsumer that merges LongAccumulators, suitable for use with java.util.stream.LongStream's collect method. Suitable for Stream[Long] also.

Attributes

Source
LongAccumulator.scala
override def newBuilder: LongAccumulator

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.

Attributes

Definition Classes
Source
LongAccumulator.scala

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

A Supplier of LongAccumulators, suitable for use with java.util.stream.LongStream's collect method. Suitable for Stream[Long] also.

Attributes

Source
LongAccumulator.scala

Inherited methods

Attributes

Inherited from:
SpecificIterableFactory
Source
Factory.scala
def fill(n: Int)(elem: => Long): LongAccumulator

Attributes

Inherited from:
SpecificIterableFactory
Source
Factory.scala

Implicits

Inherited implicits

Attributes

Inherited from:
SpecificIterableFactory
Source
Factory.scala