CollectionUtilsRetainAll Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Removes all elements from the target collection that are not
contained in the source collection.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic static bool RetainAll(
ICollection target,
ICollection source
)
Parameters
- target
- Type: System.CollectionsICollection
Collection from which the elements should be removed.
- source
- Type: System.CollectionsICollection
Collection of elements not to remove.
Return Value
Type:
Booleantrue if at least one element was removed,
false
otherwise.
Remarks
See Also