IConcurrentMap.IMap.ReplaceAll(IBiFunction) 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.
Replaces each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception.
[Android.Runtime.Register("replaceAll", "(Ljava/util/function/BiFunction;)V", "GetReplaceAll_Ljava_util_function_BiFunction_Handler:Java.Util.Concurrent.IConcurrentMap, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
override sealed void IMap.ReplaceAll(Java.Util.Functions.IBiFunction? function);
[<Android.Runtime.Register("replaceAll", "(Ljava/util/function/BiFunction;)V", "GetReplaceAll_Ljava_util_function_BiFunction_Handler:Java.Util.Concurrent.IConcurrentMap, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Java.Util.IMap.ReplaceAll : Java.Util.Functions.IBiFunction -> unit
override this.Java.Util.IMap.ReplaceAll : Java.Util.Functions.IBiFunction -> unit
Parameters
- function
- IBiFunction
the function to apply to each entry
Implements
- Attributes
Remarks
Replaces each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception. Exceptions thrown by the function are relayed to the caller.
Added in 1.8.
Java reference for java.util.concurrent.ConcurrentMap.replaceAll.
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.