Adapts this collector to perform an additional finishing transformation.
Returns an IntCollector that produces the arithmetic mean of the
input elements or an empty optional if no elements are collected.
Returns an IntCollector that counts the number of input elements
and returns the result as Long.
Returns an IntCollector that counts the number of input elements
and returns the result as Integer.
Returns an IntCollector implementing a "group by" operation on
input numbers, grouping them according to a classification function, and
returning the results in a Map.
Returns an IntCollector implementing a cascaded "group by"
operation on input numbers, grouping them according to a classification
function, and then performing a reduction operation on the values
associated with a given key using the specified downstream
IntCollector.
Returns an IntCollector implementing a cascaded "group by"
operation on input numbers, grouping them according to a classification
function, and then performing a reduction operation on the values
associated with a given key using the specified downstream
IntCollector.
Returns an IntCollector that converts the input numbers to
strings and concatenates them, separated by the specified delimiter, in
encounter order.
Returns an IntCollector that converts the input numbers to
strings and concatenates them, separated by the specified delimiter, with
the specified prefix and suffix, in encounter order.
Adapts an IntCollector to another one by applying a mapping
function to each input element before accumulation.
Adapts a
Collector accepting elements of type
U to an
IntCollector by applying a mapping function to each input element
before accumulation.
Returns an
IntCollector that produces the maximal element,
described as an
OptionalInt.
Returns an
IntCollector that produces the minimal element,
described as an
OptionalInt.
Returns a new IntCollector described by the given
supplier, accumulator, merger, and
finisher functions.
Returns a new IntCollector described by the given
supplier, accumulator, and merger functions.
Adapts a Collector which accepts elements of type Integer
to an IntCollector.
Returns an IntCollector which partitions the input elements
according to an IntPredicate, and organizes them into a
Map<Boolean, int[]>.
Returns an IntCollector which partitions the input numbers
according to an IntPredicate, reduces the values in each
partition according to another IntCollector, and organizes them
into a Map<Boolean, D> whose values are the result of the
downstream reduction.
Returns an IntCollector which performs a reduction of its input
numbers under a specified IntBinaryOperator using the provided
identity.
Returns an
IntCollector which performs a reduction of its input
numbers under a specified
IntBinaryOperator.
Returns an IntCollector which returns summary statistics for the
input elements.
Returns an IntCollector that produces the sum of the input
elements.
Returns an IntCollector that produces the array of the input
elements.
Returns an
IntCollector that produces the
BitSet of the
input elements.
Returns an IntCollector which produces a boolean array containing
the results of applying the given predicate to the input elements, in
encounter order.
Returns an IntCollector that produces the byte[] array of
the input elements converting them via (byte) casting.
Returns an IntCollector that produces the char[] array of
the input elements converting them via (char) casting.
Returns an IntCollector that produces the short[] array
of the input elements converting them via (short) casting.
<A,R> R
Performs a mutable reduction operation on the elements of this stream
using an
IntCollector which encapsulates the supplier,
accumulator and merger functions making easier to reuse collection
strategies.
Returns an IntCollector implementing a cascaded "group by"
operation on input numbers, grouping them according to a classification
function, and then performing a reduction operation on the values
associated with a given key using the specified downstream
IntCollector.
Returns an IntCollector implementing a cascaded "group by"
operation on input numbers, grouping them according to a classification
function, and then performing a reduction operation on the values
associated with a given key using the specified downstream
IntCollector.
Adapts an IntCollector to another one by applying a mapping
function to each input element before accumulation.
Returns an IntCollector which partitions the input numbers
according to an IntPredicate, reduces the values in each
partition according to another IntCollector, and organizes them
into a Map<Boolean, D> whose values are the result of the
downstream reduction.