Returns true if this collection contains all of the elements in the specified collection.
c | collection to be checked for containment in this collection |
ClassCastException | if the types of one or more elements in the specified collection are incompatible with this collection (optional) | |
NullPointerException | if the specified collection contains one or more null elements and this collection does not permit null elements (optional), or if the specified collection is null. |
contains(Object)
Diagram: Collection List