Share via


CopyOnWriteArrayList.AddAllAbsent(ICollection) Method

Definition

Appends all of the elements in the specified collection that are not already contained in this list, to the end of this list, in the order that they are returned by the specified collection's iterator.

[Android.Runtime.Register("addAllAbsent", "(Ljava/util/Collection;)I", "GetAddAllAbsent_Ljava_util_Collection_Handler")]
public virtual int AddAllAbsent (System.Collections.ICollection c);
[<Android.Runtime.Register("addAllAbsent", "(Ljava/util/Collection;)I", "GetAddAllAbsent_Ljava_util_Collection_Handler")>]
abstract member AddAllAbsent : System.Collections.ICollection -> int
override this.AddAllAbsent : System.Collections.ICollection -> int

Parameters

c
ICollection

collection containing elements to be added to this list

Returns

the number of elements added

Attributes

Remarks

Appends all of the elements in the specified collection that are not already contained in this list, to the end of this list, in the order that they are returned by the specified collection's iterator.

Java documentation for java.util.concurrent.CopyOnWriteArrayList.addAllAbsent(java.util.Collection<? extends E>).

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