共用方式為


BinaryOperator.MinBy(IComparator) 方法

定義

警告

Use 'Java.Util.Functions.IBinaryOperator.MinBy'. This class will be removed in a future release.

傳回 , BinaryOperator 其會根據指定的 Comparator傳回兩個專案的小於 。

[Android.Runtime.Register("minBy", "(Ljava/util/Comparator;)Ljava/util/function/BinaryOperator;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
[System.Obsolete("Use 'Java.Util.Functions.IBinaryOperator.MinBy'. This class will be removed in a future release.")]
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" })>]
[<System.Obsolete("Use 'Java.Util.Functions.IBinaryOperator.MinBy'. This class will be removed in a future release.")>]
static member MinBy : Java.Util.IComparator -> Java.Util.Functions.IBinaryOperator

參數

comparator
IComparator

Comparator,用於比較兩個值

傳回

BinaryOperator 根據提供的 ,傳回其操作數的較小數 Comparator

屬性

備註

傳回 , BinaryOperator 其會根據指定的 Comparator傳回兩個專案的小於 。

java.util.function.BinaryOperator.minBy(java.util.Comparator<? super T>)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於