Language

CopyOnWriteArrayList.ReplaceAll(IUnaryOperator) Method

Definition

Builds and publishes a replacement array by applying the specified function to each element.

[Android.Runtime.Register("replaceAll", "(Ljava/util/function/UnaryOperator;)V", "GetReplaceAll_Ljava_util_function_UnaryOperator_Handler", ApiSince=24)]
public virtual void ReplaceAll(Java.Util.Functions.IUnaryOperator operator);
[<Android.Runtime.Register("replaceAll", "(Ljava/util/function/UnaryOperator;)V", "GetReplaceAll_Ljava_util_function_UnaryOperator_Handler", ApiSince=24)>]
abstract member ReplaceAll : Java.Util.Functions.IUnaryOperator -> unit
override this.ReplaceAll : Java.Util.Functions.IUnaryOperator -> unit

Parameters

operator
IUnaryOperator

The function that computes the replacement for each list element.

Implements

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.

Applies to