Spec-Zone.ru › Scala 3.1

Объект scala.jdk.IntAccumulator

Класс-компаньон • Исходный код

объект IntAccumulator extends SpecificIterableFactory[Int, IntAccumulator]

Суперобектные типы
Трейт SpecificIterableFactory[Int, IntAccumulator]
Трейт Factory[Int, IntAccumulator]
Класс Object
Трейт Matchable
Класс Any
Тип самого себя
IntAccumulator.type

Классы

Исходный код
класс SerializationProxy[A](acc: IntAccumulator) extends Serializable

Конкретные методы

Исходный код
def adder: ObjIntConsumer[IntAccumulator]

Функция, которая добавляет элемент в IntAccumulator, подходящая для использования с методом collect java.util.stream.IntStream.

Исходный код
def boxedAdder: BiConsumer[IntAccumulator, Int]

Функция, которая добавляет упакованное значение Int в IntAccumulator, подходящая для использования с методом collect java.util.stream.Stream.

Исходный код
override def empty: IntAccumulator

Классы-определения SpecificIterableFactory

Исходный код
override def fromSpecific(it: IterableOnce[Int]): IntAccumulator

Классы-определения Factory

Исходный код
def merger: BiConsumer[IntAccumulator, IntAccumulator]

Функция, которая объединяет IntAccumulator, подходящая для использования с методом collect java.util.stream.IntStream. Подходит также для Stream[Int].

Исходный код
override def newBuilder: IntAccumulator

Классы-определения SpecificIterableFactory -> Factory

Исходный код
def supplier: Supplier[IntAccumulator]

Поставщик IntAccumulator , подходящий для использования с методом collect java.util.stream.IntStream. Подходит также для Stream[Int].

Наследованные методы

Исходный код
def apply(xs: Int*): IntAccumulator

Наследованно от SpecificIterableFactory

Исходный код
def fill(n: Int)(elem: => Int): IntAccumulator

Наследованно от SpecificIterableFactory

Неявные значения

Исходный код
неявное значение toJavaIntegerAccumulator(ia: IntAccumulator.type): SpecificIterableFactory[Integer, IntAccumulator]

Наследованные неявные значения

Исходный код
неявное значение specificIterableFactory: Factory[Int, IntAccumulator]

Наследованно от SpecificIterableFactory

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/jdk/IntAccumulator$.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API