Dela via


Collectors.SummarizingDouble(IToDoubleFunction) Method

Definition

Returns a Collector which applies an double-producing mapping function to each input element, and returns summary statistics for the resulting values.

[Android.Runtime.Register("summarizingDouble", "(Ljava/util/function/ToDoubleFunction;)Ljava/util/stream/Collector;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.Streams.ICollector? SummarizingDouble (Java.Util.Functions.IToDoubleFunction? mapper);
[<Android.Runtime.Register("summarizingDouble", "(Ljava/util/function/ToDoubleFunction;)Ljava/util/stream/Collector;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member SummarizingDouble : Java.Util.Functions.IToDoubleFunction -> Java.Util.Streams.ICollector

Parameters

mapper
IToDoubleFunction

a mapping function to apply to each element

Returns

a Collector implementing the summary-statistics reduction

Attributes

Remarks

Returns a Collector which applies an double-producing mapping function to each input element, and returns summary statistics for the resulting values.

Java documentation for java.util.stream.Collectors.summarizingDouble(java.util.function.ToDoubleFunction<? super T>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to