Collectors.SummarizingLong(IToLongFunction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Collector
which applies an long
-producing
mapping function to each input element, and returns summary statistics
for the resulting values.
[Android.Runtime.Register("summarizingLong", "(Ljava/util/function/ToLongFunction;)Ljava/util/stream/Collector;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.Streams.ICollector? SummarizingLong (Java.Util.Functions.IToLongFunction? mapper);
[<Android.Runtime.Register("summarizingLong", "(Ljava/util/function/ToLongFunction;)Ljava/util/stream/Collector;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member SummarizingLong : Java.Util.Functions.IToLongFunction -> Java.Util.Streams.ICollector
Parameters
- mapper
- IToLongFunction
the mapping function to apply to each element
Returns
a Collector
implementing the summary-statistics reduction
- Attributes
Remarks
Returns a Collector
which applies an long
-producing mapping function to each input element, and returns summary statistics for the resulting values.
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.