Packages

object IntAccumulator extends SpecificIterableFactory[Int, IntAccumulator] with java.io.Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntAccumulator
  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: ObjIntConsumer[IntAccumulator]

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

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

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

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

    it

    Source collection

    returns

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

    Definition Classes
    IntAccumulatorFactory
  7. def merger: BiConsumer[IntAccumulator, IntAccumulator]

    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.

  8. def newBuilder: IntAccumulator

    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
    IntAccumulatorSpecificIterableFactoryFactory
  9. implicit def specificIterableFactory: Factory[Int, IntAccumulator]
    Definition Classes
    SpecificIterableFactory
  10. def supplier: Supplier[IntAccumulator]

    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.

  11. implicit def toJavaIntegerAccumulator(ia: IntAccumulator.type): SpecificIterableFactory[Integer, IntAccumulator]