ICollector.Combiner Method

Definition

A function that accepts two partial results and merges them.

[Android.Runtime.Register("combiner", "()Ljava/util/function/BinaryOperator;", "GetCombinerHandler:Java.Util.Streams.ICollectorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public Java.Util.Functions.IBinaryOperator? Combiner ();
[<Android.Runtime.Register("combiner", "()Ljava/util/function/BinaryOperator;", "GetCombinerHandler:Java.Util.Streams.ICollectorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Combiner : unit -> Java.Util.Functions.IBinaryOperator

Returns

a function which combines two partial results into a combined result

Attributes

Remarks

A function that accepts two partial results and merges them. The combiner function may fold state from one argument into the other and return that, or may return a new result container.

Java documentation for java.util.stream.Collector.combiner().

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