Udostępnij za pośrednictwem


Provider.ReplaceAll(IBiFunction) Method

Definition

Replaces each entry's value with the result of invoking the given function on that entry, in the order entries are returned by an entry set iterator, 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", ApiSince=26)]
public virtual void ReplaceAll (Java.Util.Functions.IBiFunction? function);
[<Android.Runtime.Register("replaceAll", "(Ljava/util/function/BiFunction;)V", "GetReplaceAll_Ljava_util_function_BiFunction_Handler", ApiSince=26)>]
abstract member ReplaceAll : Java.Util.Functions.IBiFunction -> unit
override this.ReplaceAll : Java.Util.Functions.IBiFunction -> unit

Parameters

function
IBiFunction
Attributes

Remarks

Replaces each entry's value with the result of invoking the given function on that entry, in the order entries are returned by an entry set iterator, until all entries have been processed or the function throws an exception.

If a security manager is enabled, its checkSecurityAccess method is called with the string "putProviderProperty."+name, where name is the provider name, to see if it's ok to set this provider's property values.

Added in 1.8.

Java documentation for java.security.Provider.replaceAll(java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>).

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