Packages

object LongAccumulator extends SpecificIterableFactory[Long, LongAccumulator] with java.io.Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LongAccumulator
  2. Serializable
  3. SpecificIterableFactory
  4. Factory
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class SerializationProxy[A] extends Serializable

Value Members

  1. def adder: ObjLongConsumer[LongAccumulator]

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

  2. def apply(xs: Long*): LongAccumulator
    Definition Classes
    SpecificIterableFactory
  3. def boxedAdder: BiConsumer[LongAccumulator, Long]

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

  4. def empty: LongAccumulator
  5. def fill(n: Int)(elem: => Long): LongAccumulator
    Definition Classes
    SpecificIterableFactory
  6. def fromSpecific(it: IterableOnce[Long]): LongAccumulator

    it

    Source collection

    returns

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

    Definition Classes
    LongAccumulatorFactory
  7. def merger: BiConsumer[LongAccumulator, LongAccumulator]

    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.

  8. 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.

    Definition Classes
    LongAccumulatorSpecificIterableFactoryFactory
  9. implicit def specificIterableFactory: Factory[Long, LongAccumulator]
    Definition Classes
    SpecificIterableFactory
  10. def supplier: Supplier[LongAccumulator]

    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.

  11. implicit def toJavaLongAccumulator(ia: LongAccumulator.type): SpecificIterableFactory[java.lang.Long, LongAccumulator]