JavaList.RetainAll(JavaList) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For each current element not contained in the supplied list, calls Remove for that element.
public virtual bool RetainAll(Android.Runtime.JavaList collection);
abstract member RetainAll : Android.Runtime.JavaList -> bool
override this.RetainAll : Android.Runtime.JavaList -> bool
Parameters
- collection
- JavaList
The list used to test which elements to retain.
Returns
true if a removal was attempted; otherwise, false.
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.