ConcurrentHashMap.SearchEntries(Int64, IFunction) 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 non-null result from applying the given search function on each entry, or null if none.
[Android.Runtime.Register("searchEntries", "(JLjava/util/function/Function;)Ljava/lang/Object;", "GetSearchEntries_JLjava_util_function_Function_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public virtual Java.Lang.Object? SearchEntries (long parallelismThreshold, Java.Util.Functions.IFunction searchFunction);
[<Android.Runtime.Register("searchEntries", "(JLjava/util/function/Function;)Ljava/lang/Object;", "GetSearchEntries_JLjava_util_function_Function_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
abstract member SearchEntries : int64 * Java.Util.Functions.IFunction -> Java.Lang.Object
override this.SearchEntries : int64 * Java.Util.Functions.IFunction -> Java.Lang.Object
Parameters
- parallelismThreshold
- Int64
the (estimated) number of elements needed for this operation to be executed in parallel
- searchFunction
- IFunction
a function returning a non-null result on success, else null
Returns
a non-null result from applying the given search function on each entry, or null if none
- Attributes
Remarks
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.