Collections.containsAll()

Signature

boolean containsAll ( Object collection, Object collection2 )

Domain

ACTION

Description

Returns true if this collection contains all of the elements of the specified collection.

Parameters

NameTypeDescription
collectionObjectThe Collection object
collection2ObjectCollection to be checked for containment in this collection

Returns

TypeDescription
booleantrue, If this collection contains all of the elements of the specified collection

Cautions

none