IMap.ReplaceAll(IBiFunction) Method

Definition

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.

C#
[Android.Runtime.Register("replaceAll", "(Ljava/util/function/BiFunction;)V", "GetReplaceAll_Ljava_util_function_BiFunction_Handler:Java.Util.IMap, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public virtual void ReplaceAll(Java.Util.Functions.IBiFunction function);

Parameters

function
IBiFunction

the function to apply to each entry

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 documentation for java.util.Map.replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>).

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35