Collections.removeAll()

Signature

boolean removeAll ( Object collection, Object collection2 )

Domain

ACTION

Description

Removes from this collection all of its elements that are contained in the specified collection.

Parameters

NameTypeDescription
collectionObjectThe Collection object
collection2ObjectCollection containing elements to be removed from this collection

Returns

TypeDescription
booleantrue, If this collection changed as a result of the call

Cautions

none