共用方式為


CopyOnWriteArrayList.RemoveAll(ICollection) 方法

定義

從這個清單中移除其所有包含在指定集合中的專案。

[Android.Runtime.Register("removeAll", "(Ljava/util/Collection;)Z", "GetRemoveAll_Ljava_util_Collection_Handler")]
public virtual bool RemoveAll (System.Collections.ICollection c);
[<Android.Runtime.Register("removeAll", "(Ljava/util/Collection;)Z", "GetRemoveAll_Ljava_util_Collection_Handler")>]
abstract member RemoveAll : System.Collections.ICollection -> bool
override this.RemoveAll : System.Collections.ICollection -> bool

參數

c
ICollection

集合,其中包含要從此清單中移除的專案

傳回

true 如果此列表因呼叫而變更,則為

實作

屬性

備註

從這個清單中移除其所有包含在指定集合中的專案。 這是此類別中特別昂貴的作業,因為需要內部暫存數位列。

java.util.concurrent.CopyOnWriteArrayList.removeAll(java.util.Collection<?>)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於