Megosztás a következőn keresztül:


IBinaryOperator.MinBy(IComparator) Method

Definition

Returns a BinaryOperator which returns the lesser of two elements according to the specified Comparator.

[Android.Runtime.Register("minBy", "(Ljava/util/Comparator;)Ljava/util/function/BinaryOperator;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.Functions.IBinaryOperator? MinBy (Java.Util.IComparator? comparator);
[<Android.Runtime.Register("minBy", "(Ljava/util/Comparator;)Ljava/util/function/BinaryOperator;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member MinBy : Java.Util.IComparator -> Java.Util.Functions.IBinaryOperator

Parameters

comparator
IComparator

a Comparator for comparing the two values

Returns

a BinaryOperator which returns the lesser of its operands, according to the supplied Comparator

Attributes

Remarks

Returns a BinaryOperator which returns the lesser of two elements according to the specified Comparator.

Java documentation for java.util.function.BinaryOperator.minBy(java.util.Comparator<? 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